summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/grchamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/grchamp.c')
-rw-r--r--src/mame/drivers/grchamp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/grchamp.c b/src/mame/drivers/grchamp.c
index 6d38bea6509..aef3d461429 100644
--- a/src/mame/drivers/grchamp.c
+++ b/src/mame/drivers/grchamp.c
@@ -95,7 +95,7 @@ static INTERRUPT_GEN( grchamp_cpu0_interrupt )
grchamp_state *state = device->machine().driver_data<grchamp_state>();
if (state->m_cpu0_out[0] & 0x01)
- device_set_input_line(device, 0, ASSERT_LINE);
+ device->execute().set_input_line(0, ASSERT_LINE);
}
@@ -104,7 +104,7 @@ static INTERRUPT_GEN( grchamp_cpu1_interrupt )
grchamp_state *state = device->machine().driver_data<grchamp_state>();
if (state->m_cpu1_out[4] & 0x01)
- device_set_input_line(device, 0, ASSERT_LINE);
+ device->execute().set_input_line(0, ASSERT_LINE);
}