mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 00:40:09 +00:00
Move menu_do_refresh to rarch_main_data_iterate
This commit is contained in:
parent
ba220f1868
commit
02b29e08ad
@ -297,9 +297,6 @@ int menu_iterate(retro_input_t input,
|
||||
|
||||
action = menu->input.joypad;
|
||||
|
||||
if (menu_do_refresh(action) == 0)
|
||||
return 0;
|
||||
|
||||
ret = menu_entry_iterate(action);
|
||||
|
||||
if (runloop->is_menu && !runloop->is_idle)
|
||||
|
@ -22,6 +22,10 @@
|
||||
#include <rthreads/rthreads.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
#include "menu/menu.h"
|
||||
#endif
|
||||
|
||||
enum
|
||||
{
|
||||
THREAD_CODE_INIT = 0,
|
||||
@ -268,6 +272,10 @@ void rarch_main_data_iterate(void)
|
||||
data_runloop_msg[0] = '\0';
|
||||
}
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
menu_do_refresh(MENU_ACTION_REFRESH);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
if (settings->menu.threaded_data_runloop_enable && runloop->alive)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user