mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-11-26 07:49:17 +00:00
Don't crash on OOB
This commit is contained in:
parent
b0ed4f9692
commit
b40bc0dd2b
@ -78,7 +78,8 @@ _PEISlam
|
|||||||
|
|
||||||
cmp #$9D00
|
cmp #$9D00
|
||||||
bcc *+4
|
bcc *+4
|
||||||
brk $85 ; Kill if stack it out of range
|
beq :exit
|
||||||
|
; brk $85 ; Kill if stack is out of range
|
||||||
|
|
||||||
dey ; decrement the total counter, if zero then we're done
|
dey ; decrement the total counter, if zero then we're done
|
||||||
beq :exit
|
beq :exit
|
||||||
|
Loading…
Reference in New Issue
Block a user