Skip to content

Commit e611c5b

Browse files
committed
fix: tall+wide frame calculation overflow
1 parent 1c6d627 commit e611c5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

statements.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,9 +1456,9 @@ void plotsprite (char **statement, int fourbytesprite)
14561456
}
14571457
else
14581458
printf (" ldy #%s_width\n", statement[2]);
1459-
printf (" clc\n");
14601459
printf (" beq plotspritewidthskip%d\n", templabel);
14611460
printf ("plotspritewidthloop%d\n", templabel);
1461+
printf (" clc\n");
14621462
printf (" adc ");
14631463
printimmed (statement[6]);
14641464
printf ("%s\n", statement[6]);

0 commit comments

Comments
 (0)