summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/redalert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/redalert.c')
-rw-r--r--src/mame/drivers/redalert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/redalert.c b/src/mame/drivers/redalert.c
index c7768eff7fe..bd80b5f315e 100644
--- a/src/mame/drivers/redalert.c
+++ b/src/mame/drivers/redalert.c
@@ -111,9 +111,9 @@ static INTERRUPT_GEN( redalert_vblank_interrupt )
{
if( device->machine().root_device().ioport("COIN")->read() )
/* the service coin as conntected to the CPU's RDY pin as well */
- device_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE);
+ device->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
- device_set_input_line(device, M6502_IRQ_LINE, ASSERT_LINE);
+ device->execute().set_input_line(M6502_IRQ_LINE, ASSERT_LINE);
}