mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(Android) Some cleanups in engine_handle_cmd
This commit is contained in:
parent
481202f2e5
commit
a1ecc5eee3
@ -356,15 +356,6 @@ static void engine_handle_cmd(void)
|
||||
android_app->activityState = cmd;
|
||||
scond_broadcast(android_app->cond);
|
||||
slock_unlock(android_app->mutex);
|
||||
|
||||
if (!system->shutdown)
|
||||
{
|
||||
bool boolean = true;
|
||||
RARCH_LOG("Pausing RetroArch.\n");
|
||||
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_PAUSED, &boolean);
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
|
||||
}
|
||||
break;
|
||||
|
||||
case APP_CMD_STOP:
|
||||
@ -382,10 +373,6 @@ static void engine_handle_cmd(void)
|
||||
/* The window is being hidden or closed, clean it up. */
|
||||
/* terminate display/EGL context here */
|
||||
|
||||
#if 0
|
||||
RARCH_WARN("Window is terminated outside PAUSED state.\n");
|
||||
#endif
|
||||
|
||||
android_app->window = NULL;
|
||||
scond_broadcast(android_app->cond);
|
||||
slock_unlock(android_app->mutex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user