Android: Don't create a savestate when rotating

This commit is contained in:
JosJuice 2018-10-27 15:49:17 +02:00
parent d0c29f8814
commit ce640e129d
1 changed files with 4 additions and 1 deletions

View File

@ -339,8 +339,11 @@ public final class EmulationActivity extends AppCompatActivity
@Override
protected void onSaveInstanceState(Bundle outState)
{
if (!isChangingConfigurations())
{
mEmulationFragment.saveTemporaryState();
}
outState.putString(EXTRA_SELECTED_GAME, mPath);
outState.putString(EXTRA_SELECTED_TITLE, mSelectedTitle);
outState.putInt(EXTRA_PLATFORM, mPlatform);