fixed old key index storage

This commit is contained in:
FeralChild64 committed 2020-12-04 15:09:18 +01:00
1 parent df6545adf2
commit c45fcb7fa9
1 file changed
+2 -1
+2 -1
View File
@@ -209,12 +209,13 @@ m65_scnkey_got_key: ; .Y should now contain the key offset in matrix pointed by
cpy LSTX cpy LSTX
beq m65_scnkey_try_repeat ; branch if the same key as previously beq m65_scnkey_try_repeat ; branch if the same key as previously
sty LSTX
; FALLTROUGH ; FALLTROUGH
m65_scnkey_got_key_skip_cmp: m65_scnkey_got_key_skip_cmp:
sty LSTX
; Reset key repeat counters ; Reset key repeat counters
lda #CONFIG_KEY_DELAY lda #CONFIG_KEY_DELAY