summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/wiz.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/wiz.c')
-rw-r--r--src/mame/drivers/wiz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/wiz.c b/src/mame/drivers/wiz.c
index 5114553a1cf..f3a3b46df8a 100644
--- a/src/mame/drivers/wiz.c
+++ b/src/mame/drivers/wiz.c
@@ -706,7 +706,7 @@ static INTERRUPT_GEN( wiz_vblank_interrupt )
wiz_state *state = device->machine().driver_data<wiz_state>();
if(state->m_main_nmi_mask & 1)
- device_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE);
+ device->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}
static INTERRUPT_GEN( wiz_sound_interrupt )
@@ -714,7 +714,7 @@ static INTERRUPT_GEN( wiz_sound_interrupt )
wiz_state *state = device->machine().driver_data<wiz_state>();
if(state->m_sound_nmi_mask & 1)
- device_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE);
+ device->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}