mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(Android) Move menu_init() call around.
Should be called late (when g_extern.config_path, etc are set). Fixes ROM history and RGUI showing configured libretro core.
This commit is contained in:
parent
812d78839d
commit
895d6cb4a7
@ -152,6 +152,7 @@ static bool android_app_start_main(struct android_app *android_app)
|
|||||||
RARCH_LOG("Config file: [%s].\n", g_extern.config_path);
|
RARCH_LOG("Config file: [%s].\n", g_extern.config_path);
|
||||||
RARCH_LOG("Current IME: [%s].\n", android_app->current_ime);
|
RARCH_LOG("Current IME: [%s].\n", android_app->current_ime);
|
||||||
|
|
||||||
|
menu_init();
|
||||||
ret = load_menu_game();
|
ret = load_menu_game();
|
||||||
if (ret)
|
if (ret)
|
||||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_GAME);
|
g_extern.lifecycle_mode_state |= (1ULL << MODE_GAME);
|
||||||
@ -189,7 +190,6 @@ static void *android_app_entry(void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
rarch_init_msg_queue();
|
rarch_init_msg_queue();
|
||||||
menu_init();
|
|
||||||
|
|
||||||
if (!android_app_start_main(android_app))
|
if (!android_app_start_main(android_app))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user