summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/namcoio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/namcoio.c')
-rw-r--r--src/mame/machine/namcoio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/namcoio.c b/src/mame/machine/namcoio.c
index beb1128b627..92ed3a974ab 100644
--- a/src/mame/machine/namcoio.c
+++ b/src/mame/machine/namcoio.c
@@ -382,7 +382,7 @@ static UINT8 namcoio_51XX_read(running_machine *machine, int chip)
}
}
- if (~input_port_read_indexed(machine, 0) & 0x80) /* check test mode switch */
+ if (~input_port_read(machine, "IN0") & 0x80) /* check test mode switch */
return 0xbb;
return (io[chip].credits / 10) * 16 + io[chip].credits % 10;