mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-11-21 20:30:50 +00:00
Move error check outside of loop
This commit is contained in:
parent
e06724eb4a
commit
28016b6780
@ -76,14 +76,14 @@ _PEISlam
|
||||
adcl :screen_width_1
|
||||
tcs
|
||||
|
||||
cmp #$9D00
|
||||
bcc *+4
|
||||
beq :exit
|
||||
; brk $85 ; Kill if stack is out of range
|
||||
|
||||
dey ; decrement the total counter, if zero then we're done
|
||||
beq :exit
|
||||
|
||||
cmp #$9D00
|
||||
bcc *+4
|
||||
; beq :exit
|
||||
brk $85 ; Kill if stack is out of range
|
||||
|
||||
dex ; decrement the inner counter. Both counters are set
|
||||
beq :restore ; up so that they fall-through by default to save a cycle
|
||||
; per loop iteration.
|
||||
|
Loading…
Reference in New Issue
Block a user