Simplify call to menu_do_refresh

This commit is contained in:
twinaphex 2015-05-16 17:33:12 +02:00
parent 87e46cefb8
commit c91ddf794f
2 changed files with 1 additions and 4 deletions

View File

@ -317,8 +317,6 @@ int menu_do_refresh(unsigned action)
return -1;
if (!menu_needs_refresh())
return -1;
if (action == MENU_ACTION_MESSAGE)
return -1;
return menu_entry_iterate(MENU_ACTION_REFRESH);
}

View File

@ -273,8 +273,7 @@ void rarch_main_data_iterate(void)
}
#ifdef HAVE_MENU
if (menu_needs_refresh())
menu_do_refresh(MENU_ACTION_REFRESH);
menu_do_refresh(MENU_ACTION_REFRESH);
#endif
#ifdef HAVE_THREADS