diff --git a/src/kernal/keyboard_m65/mega65_scnkey.s b/src/kernal/keyboard_m65/mega65_scnkey.s index deae8815..ba90bba3 100644 --- a/src/kernal/keyboard_m65/mega65_scnkey.s +++ b/src/kernal/keyboard_m65/mega65_scnkey.s @@ -209,12 +209,13 @@ m65_scnkey_got_key: ; .Y should now contain the key offset in matrix pointed by cpy LSTX beq m65_scnkey_try_repeat ; branch if the same key as previously - sty LSTX ; FALLTROUGH m65_scnkey_got_key_skip_cmp: + sty LSTX + ; Reset key repeat counters lda #CONFIG_KEY_DELAY