Skip to content

Commit 14e51a3

Browse files
authored
Merge pull request #161 from Konamiman/fix-disk-emulation-mode-disk-change-keys
Fix key scanning for disk change on floppy emulation mode
2 parents ed65a7d + 8d33c60 commit 14e51a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/kernel/drv.mac

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,11 @@ GETCURKEY:
230230
;A = Current key index
231231
;We do an initial rotation because we want to start at key 1.
232232
CHGLOOP:
233-
sra c
234-
rr e
235-
rr d
233+
srl h
236234
rr l
237-
rr h
235+
rr d
236+
rr e
237+
rr c
238238
bit 0,c
239239
ret nz
240240

0 commit comments

Comments
 (0)