shave some cycles

This commit is contained in:
4am 2020-10-26 00:55:11 -04:00
parent a9cd08e6b4
commit 6638671397

View File

@ -203,8 +203,8 @@ BoxLoop stx box
inc any inc any
clc clc
j jsr $FD00 ; [SMC] call drawing routine for this stage j jsr $FD00 ; [SMC] call drawing routine for this stage
NextBox ldx box ldx box
inc BoxStages-1, x ; increment every box's stage every time through the loop, NextBox inc BoxStages-1, x ; increment every box's stage every time through the loop,
; even if we didn't call a drawing routine ; even if we didn't call a drawing routine
dex dex
bne BoxLoop bne BoxLoop