summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/twin16.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/twin16.c')
-rw-r--r--src/mame/drivers/twin16.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/twin16.c b/src/mame/drivers/twin16.c
index c18d73314ea..287de91d458 100644
--- a/src/mame/drivers/twin16.c
+++ b/src/mame/drivers/twin16.c
@@ -688,13 +688,13 @@ static const k007232_interface k007232_config =
static INTERRUPT_GEN( CPUA_interrupt )
{
twin16_state *state = device->machine().driver_data<twin16_state>();
- if (CPUA_IRQ_ENABLE) device_set_input_line(device, 5, HOLD_LINE);
+ if (CPUA_IRQ_ENABLE) device->execute().set_input_line(5, HOLD_LINE);
}
static INTERRUPT_GEN( CPUB_interrupt )
{
twin16_state *state = device->machine().driver_data<twin16_state>();
- if (CPUB_IRQ_ENABLE) device_set_input_line(device, 5, HOLD_LINE);
+ if (CPUB_IRQ_ENABLE) device->execute().set_input_line(5, HOLD_LINE);
}
/* Machine Drivers */