WaitOneFrame fixed

This commit is contained in:
Pecusx
2022-08-10 00:56:56 +02:00
parent f14b64a7f6
commit f807fe8876
3 changed files with 6 additions and 4 deletions
+2 -3
View File
@@ -76,11 +76,10 @@
.MACRO WAIT
; WAIT
; waits one frame (1/50 s(PAL) or 1/60s(NTSC))
lda CONSOL
cmp #6 ; START KEY
beq ?nowait
?zero LDA VCOUNT
beq ?zero
bpl ?WA
sbc #10 ; last lines correction
?WA cmp VCOUNT
beq ?WA
bcc ?WA