summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/megaplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/megaplay.c')
-rw-r--r--src/mame/drivers/megaplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/megaplay.c b/src/mame/drivers/megaplay.c
index 9178ba53dbd..54cfdf927cd 100644
--- a/src/mame/drivers/megaplay.c
+++ b/src/mame/drivers/megaplay.c
@@ -87,7 +87,7 @@ static INTERRUPT_GEN (megaplay_bios_irq)
segae_hintpending = 1;
if ((segae_vdp_regs[0][0] & 0x10)) {
- device_set_input_line(device, 0, HOLD_LINE);
+ device->execute().set_input_line(0, HOLD_LINE);
return;
}
@@ -100,7 +100,7 @@ static INTERRUPT_GEN (megaplay_bios_irq)
hintcount = segae_vdp_regs[0][10];
if ( (sline<0xe0) && (segae_vintpending) ) {
- device_set_input_line(device, 0, HOLD_LINE);
+ device->execute().set_input_line(0, HOLD_LINE);
}
}