summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/taxidriv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/taxidriv.c')
-rw-r--r--src/mame/drivers/taxidriv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/taxidriv.c b/src/mame/drivers/taxidriv.c
index 0291692e9cb..3561e719b27 100644
--- a/src/mame/drivers/taxidriv.c
+++ b/src/mame/drivers/taxidriv.c
@@ -69,7 +69,7 @@ static READ8_DEVICE_HANDLER( p1b_r )
static READ8_DEVICE_HANDLER( p1c_r )
{
taxidriv_state *state = device->machine().driver_data<taxidriv_state>();
- return (state->m_s2 << 7) | (state->m_s4 << 6) | ((input_port_read(device->machine(), "SERVCOIN") & 1) << 4);
+ return (state->m_s2 << 7) | (state->m_s4 << 6) | ((state->ioport("SERVCOIN")->read() & 1) << 4);
}
static WRITE8_DEVICE_HANDLER( p1a_w )