summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/subs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/subs.c')
-rw-r--r--src/mame/machine/subs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/subs.c b/src/mame/machine/subs.c
index 393af691b3c..e64bc6df498 100644
--- a/src/mame/machine/subs.c
+++ b/src/mame/machine/subs.c
@@ -27,7 +27,7 @@ INTERRUPT_GEN( subs_interrupt )
{
/* only do NMI interrupt if not in TEST mode */
if ((device->machine().root_device().ioport("IN1")->read() & 0x40)==0x40)
- device_set_input_line(device,INPUT_LINE_NMI,PULSE_LINE);
+ device->execute().set_input_line(INPUT_LINE_NMI,PULSE_LINE);
}
/***************************************************************************