lemm: fix bug where not erase on bottom half of screen

This commit is contained in:
Vince Weaver 2022-04-04 13:50:15 -04:00
parent 5fd7ae72c6
commit e33f1a82c4
1 changed files with 3 additions and 2 deletions

View File

@ -11,8 +11,9 @@ hgr_partial_restore:
sta partial_restore_x1_smc+1
stx partial_restore_x2_smc+1
ldx SAVED_Y2
bpl partial_restore_yloop
ldx SAVED_Y2 ; handle wrap around
cpx #192
bcc partial_restore_yloop ; assume > 192 off screen negative
ldx #0
partial_restore_yloop: