mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-01 04:00:32 +00:00
Simplify call to menu_do_refresh
This commit is contained in:
parent
87e46cefb8
commit
c91ddf794f
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user