mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-13 14:21:08 +00:00
(Android) Add auto-load state option
This commit is contained in:
parent
6f8190ea0b
commit
ce79b33fee
@ -39,10 +39,15 @@
|
||||
</PreferenceScreen>
|
||||
<PreferenceScreen android:title="System Settings" >
|
||||
<PreferenceCategory android:title="General" >
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="savestate_auto_load"
|
||||
android:summary="Loads an automatically created savestate at startup."
|
||||
android:title="Auto load state" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="savestate_auto_save"
|
||||
android:summary="Automatically saves and restores game state."
|
||||
android:summary="Automatically saves state when exiting game."
|
||||
android:title="Auto save state" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="Rewinding" >
|
||||
|
@ -214,6 +214,7 @@ public class RetroArch extends Activity implements
|
||||
config.setBoolean("audio_enable", prefs.getBoolean("audio_enable", true));
|
||||
config.setBoolean("video_smooth", prefs.getBoolean("video_smooth", true));
|
||||
config.setBoolean("video_allow_rotate", prefs.getBoolean("video_allow_rotate", true));
|
||||
config.setBoolean("savestate_auto_load", prefs.getBoolean("savestate_auto_load", false));
|
||||
config.setBoolean("savestate_auto_save", prefs.getBoolean("savestate_auto_save", false));
|
||||
config.setBoolean("rewind_enable", prefs.getBoolean("rewind_enable", false));
|
||||
config.setBoolean("video_vsync", prefs.getBoolean("video_vsync", true));
|
||||
|
Loading…
x
Reference in New Issue
Block a user