summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/plygonet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/plygonet.c')
-rw-r--r--src/mame/drivers/plygonet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/plygonet.c b/src/mame/drivers/plygonet.c
index e08e029c861..78867bfd64e 100644
--- a/src/mame/drivers/plygonet.c
+++ b/src/mame/drivers/plygonet.c
@@ -156,7 +156,7 @@ READ32_MEMBER(polygonet_state::psac_rom_r)
/* irq 7 does nothing (it jsrs to a rts and then rte) */
static INTERRUPT_GEN(polygonet_interrupt)
{
- device_set_input_line(device, M68K_IRQ_5, HOLD_LINE);
+ device->execute().set_input_line(M68K_IRQ_5, HOLD_LINE);
}
/* sound CPU communications */
@@ -557,7 +557,7 @@ WRITE8_MEMBER(polygonet_state::sound_bankswitch_w)
static INTERRUPT_GEN(audio_interrupt)
{
- device_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE);
+ device->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}
static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8, polygonet_state )