Fix the VBL code.

This commit is contained in:
Jeremy Rand 2020-07-18 23:46:09 -04:00
parent 36104869b8
commit 063b4ce60c
1 changed files with 4 additions and 3 deletions

View File

@ -688,10 +688,11 @@ waitForKey_loop anop
waitForVbl entry
short i,m
vblLoop1 anop
lda $e0c019
bmi vblLoop1
lda #$fe
cmp $e0c019
bpl vblLoop1
vblLoop2 anop
lda $e0c019
cmp $e0c019
bmi vblLoop2
long i,m
rtl