Android: Make ingame menu pause on open by default
This commit is contained in:
parent
3769f30260
commit
2a5d14d8ed
|
@ -415,7 +415,7 @@ public class EmulationActivity extends AppCompatActivity implements SurfaceHolde
|
|||
}
|
||||
|
||||
private void showMenu() {
|
||||
if (getBooleanSetting("Main/PauseOnMenu", false) &&
|
||||
if (getBooleanSetting("Main/PauseOnMenu", true) &&
|
||||
!AndroidHostInterface.getInstance().isEmulationThreadPaused()) {
|
||||
AndroidHostInterface.getInstance().pauseEmulationThread(true);
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<SwitchPreferenceCompat
|
||||
app:key="Main/PauseOnMenu"
|
||||
app:title="@string/settings_pause_when_menu_opened"
|
||||
app:defaultValue="false"
|
||||
app:defaultValue="true"
|
||||
app:summary="@string/settings_summary_pause_when_menu_opened"
|
||||
app:iconSpaceReserved="false" />
|
||||
<ListPreference
|
||||
|
|
Loading…
Reference in New Issue