summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/ondra.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/ondra.c')
-rw-r--r--src/mess/machine/ondra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/ondra.c b/src/mess/machine/ondra.c
index c7b1b9a7fea..93744e16eeb 100644
--- a/src/mess/machine/ondra.c
+++ b/src/mess/machine/ondra.c
@@ -79,7 +79,7 @@ static TIMER_CALLBACK(nmi_check_callback)
{
if ((machine.root_device().ioport("NMI")->read() & 1) == 1)
{
- cputag_set_input_line(machine, "maincpu", INPUT_LINE_NMI, PULSE_LINE);
+ machine.device("maincpu")->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}
}