mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Simplify menu_entries_refresh
This commit is contained in:
parent
7e8c98852b
commit
91eda0d59b
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user