summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pitnrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pitnrun.c')
-rw-r--r--src/mame/drivers/pitnrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/pitnrun.c b/src/mame/drivers/pitnrun.c
index 392a273ef6b..a46850c5725 100644
--- a/src/mame/drivers/pitnrun.c
+++ b/src/mame/drivers/pitnrun.c
@@ -73,7 +73,7 @@ K1000233A
static INTERRUPT_GEN( pitnrun_nmi_source )
{
pitnrun_state *state = device->machine().driver_data<pitnrun_state>();
- if(state->m_nmi) device_set_input_line(device,INPUT_LINE_NMI, PULSE_LINE);
+ if(state->m_nmi) device->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}
WRITE8_MEMBER(pitnrun_state::nmi_enable_w)