summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author yz70s <yz70s@users.noreply.github.com>2022-06-19 12:14:49 +0200
committer yz70s <yz70s@users.noreply.github.com>2022-06-19 18:12:05 +0200
commit96effb503e2b038dd223cdbc11115632a9c51824 (patch)
treeecf4e95877d98716300a5e557c28c320c3e27601 /src/devices
parent0022ff2de936d7b47a957aea8e5c064edb98720b (diff)
8042kbdc.cpp: return 0 when reading data port with no data (makes nforcepc bios usable)
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/machine/8042kbdc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/machine/8042kbdc.cpp b/src/devices/machine/8042kbdc.cpp
index 6c918c172cb..e054990a651 100644
--- a/src/devices/machine/8042kbdc.cpp
+++ b/src/devices/machine/8042kbdc.cpp
@@ -221,6 +221,7 @@ void kbdc8042_device::at_8042_clear_keyboard_received()
m_input_buffer_full_mouse_cb(0);
m_keyboard.received = 0;
m_mouse.received = 0;
+ m_data = 0;
}
TIMER_CALLBACK_MEMBER(kbdc8042_device::update_timer)