(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:
Themaister 2013-05-20 21:33:05 +02:00
parent 812d78839d
commit 895d6cb4a7

View File

@ -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("Current IME: [%s].\n", android_app->current_ime);
menu_init();
ret = load_menu_game();
if (ret)
g_extern.lifecycle_mode_state |= (1ULL << MODE_GAME);
@ -189,7 +190,6 @@ static void *android_app_entry(void *data)
}
rarch_init_msg_queue();
menu_init();
if (!android_app_start_main(android_app))
{