From b340f51b732730e340ba67fff268917b8c633e6f Mon Sep 17 00:00:00 2001 From: arbee Date: Sat, 3 Jan 2015 22:21:52 -0500 Subject: (MESS) Fix dropped keystrokes on pre-ADB Macs. [Rob Braun] --- src/mess/machine/mac.c | 11 +++-------- 1 file 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(); -- cgit v1.2.3