Skip to content

Commit

Permalink
fix fix for vice menu screen update
Browse files Browse the repository at this point in the history
  • Loading branch information
badda71 committed Apr 23, 2019
1 parent 556ffb5 commit 5aad139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/arch/sdl/uimenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,6 @@ static ui_menu_retval_t sdl_ui_menu_display(ui_menu_entry_t *menu, const char *t
sdl_ui_menu_redraw_cursor(menu, cur_offset, value_offsets, cur, cur_old);
}
sdl_ui_refresh();
SDL_Flip(sdl_active_canvas->screen);

switch (sdl_ui_menu_poll_input()) {
case MENU_ACTION_HOME:
Expand Down Expand Up @@ -1075,7 +1074,8 @@ ui_menu_action_t sdl_ui_menu_poll_input(void)
ui_menu_action_t retval = MENU_ACTION_NONE;

do {
SDL_Delay(20);
SDL_Flip(sdl_active_canvas->screen);
SDL_Delay(20);
retval = ui_dispatch_events();
#ifdef HAVE_SDL_NUMJOYSTICKS
if (retval == MENU_ACTION_NONE || retval == MENU_ACTION_NONE_RELEASE) {
Expand Down

0 comments on commit 5aad139

Please sign in to comment.