Simplify menu_entries_refresh

This commit is contained in:
twinaphex 2015-08-18 00:21:30 +02:00
parent 7e8c98852b
commit 91eda0d59b
4 changed files with 4 additions and 4 deletions

View File

@ -172,7 +172,7 @@ static bool menu_entries_get_nonblocking_refresh(void)
return entries->nonblocking_refresh;
}
int menu_entries_refresh(unsigned action)
int menu_entries_refresh(void)
{
if (menu_entries_get_nonblocking_refresh())
return -1;

View File

@ -56,7 +56,7 @@ int menu_entries_get_core_title(char *title_msg, size_t title_msg_len);
menu_entries_t *menu_entries_get_ptr(void);
int menu_entries_refresh(unsigned action);
int menu_entries_refresh(void);
bool menu_entries_needs_refresh(void);

View File

@ -46,7 +46,7 @@ int menu_entry_go_back(void)
menu_list_pop_stack(menu_list);
if (menu_entries_needs_refresh())
menu_entries_refresh(MENU_ACTION_CANCEL);
menu_entries_refresh();
rarch_main_data_iterate();

View File

@ -215,7 +215,7 @@ static void rarch_main_data_menu_iterate(void)
menu_environment_cb(MENU_ENVIRON_RESET_HORIZONTAL_LIST, NULL);
#endif
menu_entries_refresh(MENU_ACTION_REFRESH);
menu_entries_refresh();
}
#endif