mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Create rarch_main_data_menu_iterate
This commit is contained in:
parent
acfa43dfe9
commit
7e8c98852b
@ -207,6 +207,18 @@ error:
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
static void rarch_main_data_menu_iterate(void)
|
||||
{
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
if (rarch_main_data_db_pending_scan_finished())
|
||||
menu_environment_cb(MENU_ENVIRON_RESET_HORIZONTAL_LIST, NULL);
|
||||
#endif
|
||||
|
||||
menu_entries_refresh(MENU_ACTION_REFRESH);
|
||||
}
|
||||
#endif
|
||||
|
||||
void rarch_main_data_iterate(void)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
@ -238,10 +250,7 @@ void rarch_main_data_iterate(void)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
if (rarch_main_data_db_pending_scan_finished())
|
||||
menu_environment_cb(MENU_ENVIRON_RESET_HORIZONTAL_LIST, NULL);
|
||||
#endif
|
||||
rarch_main_data_menu_iterate();
|
||||
#endif
|
||||
|
||||
if (data_runloop_msg[0] != '\0')
|
||||
@ -250,10 +259,6 @@ void rarch_main_data_iterate(void)
|
||||
data_runloop_msg[0] = '\0';
|
||||
}
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
menu_entries_refresh(MENU_ACTION_REFRESH);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
if (settings->menu.threaded_data_runloop_enable && g_data_runloop.alive)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user