summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/polyplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/polyplay.c')
-rw-r--r--src/mame/drivers/polyplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/polyplay.c b/src/mame/drivers/polyplay.c
index a08b5c74dd4..79c68ba1c22 100644
--- a/src/mame/drivers/polyplay.c
+++ b/src/mame/drivers/polyplay.c
@@ -129,7 +129,7 @@ static INTERRUPT_GEN( coin_interrupt )
{
polyplay_state *state = device->machine().driver_data<polyplay_state>();
- if (input_port_read(device->machine(), "INPUT") & 0x80)
+ if (state->ioport("INPUT")->read() & 0x80)
state->m_last = 0;
else
{