mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(platform_android.c) Refactor direct manipulation of lifecycle state
This commit is contained in:
parent
2574816473
commit
37b74e512e
@ -725,8 +725,8 @@ static void process_pending_intent(void *data)
|
|||||||
|
|
||||||
if (startgame)
|
if (startgame)
|
||||||
{
|
{
|
||||||
g_extern.lifecycle_state &= ~(1ULL << MODE_MENU_PREINIT);
|
rarch_main_set_state(RARCH_ACTION_STATE_MENU_PREINIT_FINISHED);
|
||||||
g_extern.lifecycle_state &= ~(1ULL << MODE_GAME);
|
rarch_main_set_state(RARCH_ACTION_STATE_MENU_RUNNING_FINISHED);
|
||||||
rarch_main_command(RARCH_CMD_LOAD_CONTENT);
|
rarch_main_command(RARCH_CMD_LOAD_CONTENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user