diff options
Diffstat (limited to 'src/mame/video/lockon.c')
-rw-r--r-- | src/mame/video/lockon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/lockon.c b/src/mame/video/lockon.c index 8f1b51e4efa..89926051c66 100644 --- a/src/mame/video/lockon.c +++ b/src/mame/video/lockon.c @@ -69,7 +69,7 @@ static TIMER_CALLBACK( cursor_callback ) if (state->main_inten) cpu_set_input_line_and_vector(state->maincpu, 0, HOLD_LINE, 0xff); - timer_adjust_oneshot(state->cursor_timer, video_screen_get_time_until_pos(machine->primary_screen, CURSOR_YPOS, CURSOR_XPOS), 0); + timer_adjust_oneshot(state->cursor_timer, machine->primary_screen->time_until_pos(CURSOR_YPOS, CURSOR_XPOS), 0); } /************************************* @@ -922,7 +922,7 @@ VIDEO_START( lockon ) /* Timer for the CRTC cursor pulse */ state->cursor_timer = timer_alloc(machine, cursor_callback, NULL); - timer_adjust_oneshot(state->cursor_timer, video_screen_get_time_until_pos(machine->primary_screen, CURSOR_YPOS, CURSOR_XPOS), 0); + timer_adjust_oneshot(state->cursor_timer, machine->primary_screen->time_until_pos(CURSOR_YPOS, CURSOR_XPOS), 0); state_save_register_global_bitmap(machine, state->back_buffer); state_save_register_global_bitmap(machine, state->front_buffer); |