Permalink
Browse files

Android: Don't create a savestate when rotating

  • Loading branch information...
JosJuice committed Oct 27, 2018
1 parent d0c29f8 commit ce640e129dbd9b0077c65c9990cd0d664dba422a
@@ -340,7 +340,10 @@ public void onError()
@Override
protected void onSaveInstanceState(Bundle outState)
{
mEmulationFragment.saveTemporaryState();
if (!isChangingConfigurations())
{
mEmulationFragment.saveTemporaryState();
}
outState.putString(EXTRA_SELECTED_GAME, mPath);
outState.putString(EXTRA_SELECTED_TITLE, mSelectedTitle);
outState.putInt(EXTRA_PLATFORM, mPlatform);

0 comments on commit ce640e1

Please sign in to comment.