mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
(Android) Should resume now from sleep again
This commit is contained in:
parent
537db4929c
commit
2e430a9438
@ -119,10 +119,7 @@ void engine_handle_cmd(void *data)
|
||||
|
||||
/* The window is being hidden or closed, clean it up. */
|
||||
/* terminate display/EGL context here */
|
||||
if (g_extern.is_paused)
|
||||
uninit_drivers();
|
||||
else
|
||||
RARCH_WARN("Window is terminated outside PAUSED state.\n");
|
||||
//RARCH_WARN("Window is terminated outside PAUSED state.\n");
|
||||
|
||||
android_app->window = NULL;
|
||||
scond_broadcast(android_app->cond);
|
||||
@ -557,7 +554,7 @@ static int frontend_android_process_events(void *data)
|
||||
//JNIEnv *env;
|
||||
struct android_app* android_app = (struct android_app*)data;
|
||||
|
||||
if (input_key_pressed_func(RARCH_PAUSE_TOGGLE))
|
||||
if (g_extern.is_paused)
|
||||
android_run_events(android_app);
|
||||
|
||||
#if 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user