avoid extra keypress in scroll

This commit is contained in:
Peter Ferrie 2021-06-07 14:27:54 -07:00
parent 3129a8d4e2
commit e4f6ed2a26

View File

@ -241,22 +241,23 @@ CheckLogKeys
cpy #$D4
bne .skipkey
cpx #0
beq .nolog
bne .skipkey
.nolog
rts
.checkkey
jsr WaitForKey
.skipkey
cmp #k_left
beq .checkup
cmp #k_up
beq .checkup
cmp #k_right
beq .checkdown
cmp #k_down
beq .checkdown
.nolog
rts
cmp #k_left
bne .nolog
.checkup
lda .startline1+2