summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/snes_ctrl/pachinko.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/bus/snes_ctrl/pachinko.c')
-rw-r--r--src/emu/bus/snes_ctrl/pachinko.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/bus/snes_ctrl/pachinko.c b/src/emu/bus/snes_ctrl/pachinko.c
index 099e4e00f57..e69050a9a78 100644
--- a/src/emu/bus/snes_ctrl/pachinko.c
+++ b/src/emu/bus/snes_ctrl/pachinko.c
@@ -83,7 +83,7 @@ void snes_pachinko_device::device_reset()
void snes_pachinko_device::port_poll()
{
UINT8 dial = BITSWAP8(m_dial->read() ^ 0xff,7,6,5,4,3,2,1,0);
- m_latch = m_button->read() | (dial << 25) | 0xee7000; // add ID
+ m_latch = m_button->read() | (dial << 25) | 0xee7000; // add ID
}
//-------------------------------------------------
@@ -105,7 +105,7 @@ void snes_pachinko_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();
}