mirror of
https://github.com/a2-4am/passport.git
synced 2024-12-22 04:29:59 +00:00
avoid extra keypress in scroll
This commit is contained in:
parent
3129a8d4e2
commit
e4f6ed2a26
11
src/print.a
11
src/print.a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user