summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/overdriv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/overdriv.c')
-rw-r--r--src/mame/drivers/overdriv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/overdriv.c b/src/mame/drivers/overdriv.c
index 2513f2710dd..0c81567162a 100644
--- a/src/mame/drivers/overdriv.c
+++ b/src/mame/drivers/overdriv.c
@@ -81,9 +81,9 @@ static TIMER_DEVICE_CALLBACK( overdriv_cpuA_scanline )
/* TODO: irqs routines are TOO slow right now, it ends up firing spurious irqs for whatever reason (shared ram fighting?) */
/* this is a temporary solution to get rid of deprecat lib and the crashes, but also makes the game timer to be too slow */
if(scanline == 256 && timer.machine().primary_screen->frame_number() & 1) // vblank-out irq
- cputag_set_input_line(timer.machine(), "maincpu", 4, HOLD_LINE);
+ timer.machine().device("maincpu")->execute().set_input_line(4, HOLD_LINE);
else if((scanline % 128) == 0) // timer irq
- cputag_set_input_line(timer.machine(), "maincpu", 5, HOLD_LINE);
+ timer.machine().device("maincpu")->execute().set_input_line(5, HOLD_LINE);
}
static INTERRUPT_GEN( cpuB_interrupt )
@@ -312,7 +312,7 @@ static MACHINE_RESET( overdriv )
state->m_road_colorbase[1] = 0;
/* start with cpu B halted */
- cputag_set_input_line(machine, "sub", INPUT_LINE_RESET, ASSERT_LINE);
+ machine.device("sub")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
}
static const k053252_interface overdriv_k053252_intf =