summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/grchamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/grchamp.c')
-rw-r--r--src/mame/drivers/grchamp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/grchamp.c b/src/mame/drivers/grchamp.c
index 1f618dab5bc..db9900eb18b 100644
--- a/src/mame/drivers/grchamp.c
+++ b/src/mame/drivers/grchamp.c
@@ -79,7 +79,7 @@
static MACHINE_RESET( grchamp )
{
/* if the coin system is 1 way, lock Coin B (Page 40) */
- coin_lockout_w(machine, 1, (input_port_read(machine, "DSWB") & 0x10) ? 1 : 0);
+ coin_lockout_w(machine, 1, (machine.root_device().ioport("DSWB")->read() & 0x10) ? 1 : 0);
}