summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sprint4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sprint4.c')
-rw-r--r--src/mame/drivers/sprint4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/sprint4.c b/src/mame/drivers/sprint4.c
index 59dad76bd56..68b7f11ed26 100644
--- a/src/mame/drivers/sprint4.c
+++ b/src/mame/drivers/sprint4.c
@@ -102,7 +102,7 @@ static TIMER_CALLBACK( nmi_callback )
machine.watchdog_enable(machine.root_device().ioport("IN0")->read() & 0x40);
if (machine.root_device().ioport("IN0")->read() & 0x40)
- cputag_set_input_line(machine, "maincpu", INPUT_LINE_NMI, PULSE_LINE);
+ machine.device("maincpu")->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
machine.scheduler().timer_set(machine.primary_screen->time_until_pos(scanline), FUNC(nmi_callback), scanline);
}