Permalink
Browse files

Android: don't try to pause emulation when not running

Forcing landscape at emulation start revealed a bug where if the activity was
recreated before emulation started then it would get stuck in a paused state
  • Loading branch information...
zackhow committed Nov 3, 2018
1 parent 22ddd11 commit 50da2840607eb0c101426d7207fd41c85ed9fa2a
@@ -146,7 +146,8 @@ public void onPause()
directoryStateReceiver = null;
}
mEmulationState.pause();
if (mEmulationState.isRunning())
mEmulationState.pause();
super.onPause();
}

0 comments on commit 50da284

Please sign in to comment.