projects
/
dosemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ede0b79
)
Reduce synthetic key hold time
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sun, 25 Oct 2026 03:16:34 +0000
(
03:16
+0000)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sun, 25 Oct 2026 03:16:34 +0000
(
03:16
+0000)
cpu.c
patch
|
blob
|
history
diff --git
a/cpu.c
b/cpu.c
index 0bbf31b69e8b0029f4ed205e3c6f07ff004a5247..0125863e3a7c0ee51fcdbc00b6026b1cb3446971 100644
(file)
--- a/
cpu.c
+++ b/
cpu.c
@@
-1902,7
+1902,7
@@
static uint8_t io_read8 (CPU8086 *cpu, uint16_t port) {
cpu->kbd_scancode_pending = 0;
if (cpu->kbd_release_scancode) {
- cpu->kbd_release_time = pit_clock_ns () +
150
000000ULL;
+ cpu->kbd_release_time = pit_clock_ns () +
25
000000ULL;
}
return cpu->kbd_scancode;