summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/imolagp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/imolagp.c')
-rw-r--r--src/mame/drivers/imolagp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/imolagp.c b/src/mame/drivers/imolagp.c
index f9639d9a3be..0ce9f43786b 100644
--- a/src/mame/drivers/imolagp.c
+++ b/src/mame/drivers/imolagp.c
@@ -472,7 +472,7 @@ static TIMER_DEVICE_CALLBACK ( imolagp_nmi_cb )
imolagp_state *state = timer.machine().driver_data<imolagp_state>();
{
- int newsteer = input_port_read(timer.machine(), "2802") & 0xf;
+ int newsteer = timer.machine().root_device().ioport("2802")->read() & 0xf;
if (newsteer != state->m_oldsteer)
{
if (state->m_steerlatch == 0)