Don't crash on OOB

This commit is contained in:
Lucas Scharenbroich 2023-05-22 00:04:50 -05:00
parent b0ed4f9692
commit b40bc0dd2b
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@ _PEISlam
cmp #$9D00
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
beq :exit