mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
pokey: Latch current value of keyboard count when registering presses in non-debounce mode. Fixes start button not responding in a5200:pitfall.
This commit is contained in:
parent
c662f2ec6b
commit
4dfc36ae47
@ -505,7 +505,7 @@ void pokey_device::step_keyboard()
|
||||
{
|
||||
if (ret & 1)
|
||||
{
|
||||
m_KBCODE = m_kbd_latch;
|
||||
m_KBCODE = (m_SKCTL & SK_DEBOUNCE) ? m_kbd_latch : (m_kbd_latch & 0xc0) | m_kbd_cnt;
|
||||
m_SKSTAT |= SK_KEYBD;
|
||||
if (m_IRQEN & IRQ_KEYBD)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user