diff options
Diffstat (limited to 'src/mame/drivers/mgolf.c')
-rw-r--r-- | src/mame/drivers/mgolf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mgolf.c b/src/mame/drivers/mgolf.c index 1f782a5e603..53a424fec21 100644 --- a/src/mame/drivers/mgolf.c +++ b/src/mame/drivers/mgolf.c @@ -120,7 +120,7 @@ static TIMER_CALLBACK( interrupt_callback ) if (scanline >= 262) scanline = 16; - timer_set(machine, video_screen_get_time_until_pos(machine->primary_screen, scanline, 0), NULL, scanline, interrupt_callback); + timer_set(machine, machine->primary_screen->time_until_pos(scanline), NULL, scanline, interrupt_callback); } @@ -313,7 +313,7 @@ static MACHINE_START( mgolf ) static MACHINE_RESET( mgolf ) { mgolf_state *state = (mgolf_state *)machine->driver_data; - timer_set(machine, video_screen_get_time_until_pos(machine->primary_screen, 16, 0), NULL, 16, interrupt_callback); + timer_set(machine, machine->primary_screen->time_until_pos(16), NULL, 16, interrupt_callback); state->mask = 0; state->prev = 0; |