summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2015-01-03 22:21:52 -0500
committer arbee <rb6502@users.noreply.github.com>2015-01-03 22:21:52 -0500
commitb340f51b732730e340ba67fff268917b8c633e6f (patch)
treed001dbce0342e543d9b9457570badcb48e447b21
parent1542c13ac120425f24f9544a8a281147660f7790 (diff)
(MESS) Fix dropped keystrokes on pre-ADB Macs. [Rob Braun]
-rw-r--r--src/mess/machine/mac.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mess/machine/mac.c b/src/mess/machine/mac.c
index a494b3411f9..7ea9abcc76b 100644
--- a/src/mess/machine/mac.c
+++ b/src/mess/machine/mac.c
@@ -725,13 +725,8 @@ void mac_state::keyboard_receive(int val)
if (LOG_KEYBOARD)
logerror("keyboard command : inquiry\n");
- m_keyboard_reply = scan_keyboard();
- if (m_keyboard_reply == 0x7B)
- {
- /* if NULL, wait until key pressed or timeout */
- m_inquiry_timeout->adjust(
- attotime(0, DOUBLE_TO_ATTOSECONDS(0.25)), 0);
- }
+ m_inquiry_timeout->adjust(
+ attotime(0, DOUBLE_TO_ATTOSECONDS(0.25)), 0);
break;
case 0x14:
@@ -2227,7 +2222,7 @@ void mac_state::vblank_irq()
#ifndef MAC_USE_EMULATED_KBD
/* handle keyboard */
- if (m_kbd_comm == TRUE)
+ if (m_kbd_comm == TRUE && m_kbd_receive == FALSE)
{
int keycode = scan_keyboard();