diff options
Diffstat (limited to 'src/emu/bus/snes_ctrl/joypad.c')
-rw-r--r-- | src/emu/bus/snes_ctrl/joypad.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/emu/bus/snes_ctrl/joypad.c b/src/emu/bus/snes_ctrl/joypad.c index a8291c2dfdb..4b26d35b887 100644 --- a/src/emu/bus/snes_ctrl/joypad.c +++ b/src/emu/bus/snes_ctrl/joypad.c @@ -97,7 +97,7 @@ void snes_joypad_device::port_poll() // if up, no down if (temp & 0x10) temp &= ~0x20; - + m_latch = temp | 0xffff0000; } @@ -121,7 +121,6 @@ void snes_joypad_device::write_strobe(UINT8 data) int old = m_strobe; m_strobe = data & 0x01; - if (m_strobe < old) // 1 -> 0 transition + if (m_strobe < old) // 1 -> 0 transition port_poll(); } - |