mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
Android: Use save on exit option as default for resume
This commit is contained in:
parent
6ad2b72c2e
commit
1a63edec27
|
@ -204,7 +204,8 @@ public class EmulationActivity extends AppCompatActivity implements SurfaceHolde
|
||||||
}
|
}
|
||||||
|
|
||||||
final String bootPath = getIntent().getStringExtra("bootPath");
|
final String bootPath = getIntent().getStringExtra("bootPath");
|
||||||
final boolean resumeState = getIntent().getBooleanExtra("resumeState", false);
|
final boolean saveStateOnExit = getBooleanSetting("Main/SaveStateOnExit", true);
|
||||||
|
final boolean resumeState = getIntent().getBooleanExtra("resumeState", saveStateOnExit);
|
||||||
final String bootSaveStatePath = getIntent().getStringExtra("saveStatePath");
|
final String bootSaveStatePath = getIntent().getStringExtra("saveStatePath");
|
||||||
|
|
||||||
mEmulationThread = EmulationThread.create(this, bootPath, resumeState, bootSaveStatePath);
|
mEmulationThread = EmulationThread.create(this, bootPath, resumeState, bootSaveStatePath);
|
||||||
|
|
Loading…
Reference in a new issue