diff options
Diffstat (limited to 'src/mame/drivers/magmax.c')
-rw-r--r-- | src/mame/drivers/magmax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/magmax.c b/src/mame/drivers/magmax.c index 10928c4e966..b4be2c58ab3 100644 --- a/src/mame/drivers/magmax.c +++ b/src/mame/drivers/magmax.c @@ -84,7 +84,7 @@ static TIMER_CALLBACK( scanline_callback ) scanline += 128; scanline &= 255; - timer_adjust_oneshot(interrupt_timer, video_screen_get_time_until_pos(machine->primary_screen, scanline, 0), scanline); + timer_adjust_oneshot(interrupt_timer, machine->primary_screen->time_until_pos(scanline), scanline); } static MACHINE_START( magmax ) @@ -101,7 +101,7 @@ static MACHINE_START( magmax ) static MACHINE_RESET( magmax ) { - timer_adjust_oneshot(interrupt_timer, video_screen_get_time_until_pos(machine->primary_screen, 64, 0), 64); + timer_adjust_oneshot(interrupt_timer, machine->primary_screen->time_until_pos(64), 64); #if 0 { |