Unverified Commit 8eb73345 authored by mntmn's avatar mntmn
Browse files

Merge branch 'wip-fw16' of https://source.mntmn.com/MNT/zz9000-firmware into wip-fw16

parents 6727fa3b 37d04cbe
......@@ -1098,15 +1098,15 @@ int main() {
// The "+#" offset at the end is dependent on implementation timing slack, and needs
// to be adjusted based on the sprite X offset produced by the current run.
sprite_x = (int16_t)zdata + sprite_x_offset + 3;
sprite_x_adj = sprite_x;
// horizontally doubled mode
if (scalemode&1) sprite_x*=2;
if (scalemode & 1) sprite_x *=2;
sprite_x_adj = sprite_x;
}
else {
sprite_y = (int16_t)zdata + sprite_y_offset;
sprite_y_adj = sprite_y;
sprite_y = (int16_t)zdata + sprite_y_offset + 1;
// vertically doubled mode
if (scalemode&2) sprite_y*=2;
if (scalemode & 2) sprite_y *= 2;
sprite_y_adj = sprite_y;
if (sprite_x < 0 || sprite_y < 0) {
if (sprite_clip_x != sprite_x || sprite_clip_y != sprite_y) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment