diff --git a/android/native/jni/input_android.c b/android/native/jni/input_android.c index 8482c4eb7b..b91fea007e 100644 --- a/android/native/jni/input_android.c +++ b/android/native/jni/input_android.c @@ -86,6 +86,9 @@ void engine_handle_cmd(void) android_app->window = android_app->pendingWindow; pthread_cond_broadcast(&android_app->cond); pthread_mutex_unlock(&android_app->mutex); + + if (g_extern.lifecycle_state & (1ULL << RARCH_PAUSE_TOGGLE)) + init_drivers(); break; case APP_CMD_RESUME: @@ -166,12 +169,6 @@ void engine_handle_cmd(void) g_extern.lifecycle_state |= (1ULL << RARCH_QUIT_KEY); break; } - - if (cmd == APP_CMD_INIT_WINDOW) - { - if (g_extern.lifecycle_state & (1ULL << RARCH_PAUSE_TOGGLE)) - init_drivers(); - } } void engine_handle_input(void)