summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/photon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/photon.c')
-rw-r--r--src/mame/drivers/photon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/photon.c b/src/mame/drivers/photon.c
index a48555ce12f..01e8dbaa334 100644
--- a/src/mame/drivers/photon.c
+++ b/src/mame/drivers/photon.c
@@ -184,7 +184,7 @@ INPUT_PORTS_END
static INTERRUPT_GEN( pk8000_interrupt )
{
- device_set_input_line(device, 0, HOLD_LINE);
+ device->execute().set_input_line(0, HOLD_LINE);
}
static IRQ_CALLBACK(pk8000_irq_callback)
@@ -196,7 +196,7 @@ static IRQ_CALLBACK(pk8000_irq_callback)
static MACHINE_RESET(pk8000)
{
pk8000_set_bank(machine,0);
- device_set_irq_callback(machine.device("maincpu"), pk8000_irq_callback);
+ machine.device("maincpu")->execute().set_irq_acknowledge_callback(pk8000_irq_callback);
}
static VIDEO_START( photon )