summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gcpinbal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gcpinbal.c')
-rw-r--r--src/mame/drivers/gcpinbal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/gcpinbal.c b/src/mame/drivers/gcpinbal.c
index 827bdf5bcec..c5b0ad8e17d 100644
--- a/src/mame/drivers/gcpinbal.c
+++ b/src/mame/drivers/gcpinbal.c
@@ -50,7 +50,7 @@ Stephh's notes (based on the game M68000 code and some tests) :
static TIMER_CALLBACK( gcpinbal_interrupt1 )
{
gcpinbal_state *state = machine.driver_data<gcpinbal_state>();
- device_set_input_line(state->m_maincpu, 1, HOLD_LINE);
+ state->m_maincpu->set_input_line(1, HOLD_LINE);
}
#ifdef UNUSED_FUNCTION
@@ -60,7 +60,7 @@ static TIMER_CALLBACK( gcpinbal_interrupt3 )
// IRQ3 is from the M6585
// if (!ADPCM_playing(0))
{
- device_set_input_line(state->m_maincpu, 3, HOLD_LINE);
+ state->m_maincpu->set_input_line(3, HOLD_LINE);
}
}
#endif
@@ -71,7 +71,7 @@ static INTERRUPT_GEN( gcpinbal_interrupt )
device->machine().scheduler().timer_set(downcast<cpu_device *>(device)->cycles_to_attotime(500), FUNC(gcpinbal_interrupt1));
// device->machine().scheduler().timer_set(downcast<cpu_device *>(device)->cycles_to_attotime(1000), FUNC(gcpinbal_interrupt3));
- device_set_input_line(device, 4, HOLD_LINE);
+ device->execute().set_input_line(4, HOLD_LINE);
}