summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/galaga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/galaga.c')
-rw-r--r--src/mame/drivers/galaga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/galaga.c b/src/mame/drivers/galaga.c
index 2553db68f61..0de04c19bdf 100644
--- a/src/mame/drivers/galaga.c
+++ b/src/mame/drivers/galaga.c
@@ -873,7 +873,7 @@ static TIMER_CALLBACK( cpu3_interrupt_callback )
scanline = 64;
/* the vertical synch chain is clocked by H256 -- this is probably not important, but oh well */
- timer_adjust_oneshot(cpu3_interrupt_timer, video_screen_get_time_until_pos(machine->primary_screen, scanline, 0), scanline);
+ timer_adjust_oneshot(cpu3_interrupt_timer, machine->primary_screen->time_until_pos(scanline), scanline);
}
@@ -900,7 +900,7 @@ static MACHINE_RESET( galaga )
/* Reset all latches */
bosco_latch_reset(machine);
- timer_adjust_oneshot(cpu3_interrupt_timer, video_screen_get_time_until_pos(machine->primary_screen, 64, 0), 64);
+ timer_adjust_oneshot(cpu3_interrupt_timer, machine->primary_screen->time_until_pos(64), 64);
}
static MACHINE_RESET( battles )