Fix the VBL code.

This commit is contained in:
Jeremy Rand 2020-07-18 23:46:09 -04:00
parent 36104869b8
commit 063b4ce60c

View File

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