Move error check outside of loop

This commit is contained in:
Lucas Scharenbroich 2023-06-17 12:33:22 -05:00
parent e06724eb4a
commit 28016b6780
1 changed files with 5 additions and 5 deletions

View File

@ -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.