one more C128 keyboard fix

This commit is contained in:
FeralChild64 committed 2019-10-18 19:29:26 +02:00
1 parent 58daf2a553
commit 5f7c21fdac
1 file changed
+3 -3
+3 -3
View File
@@ -58,11 +58,11 @@ SCNKEY:
// First check if this is really a C128 - to avoid false positive
lda #$00
#if !CONFIG_KEYBOARD_C128
tax
#endif
sta VIC_XSCAN
lda #$FF
#if !CONFIG_KEYBOARD_C128
tax // preserve the $FF, will be needed later
#endif
cmp VIC_XSCAN
beq !+ // branch if C64, C128 will keep some bits cleared