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