(Android) Nit

This commit is contained in:
twinaphex 2013-03-03 13:27:07 +01:00
parent 3ed3217270
commit 38ca77a8eb

View File

@ -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)