mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
(Android) Add rewind and auto rotate options to settings
This commit is contained in:
parent
ecd614c9ec
commit
55376dc2b5
@ -8,6 +8,11 @@
|
||||
android:key="savestate_auto_save"
|
||||
android:summary="Automatically saves and restores game state"
|
||||
android:title="Auto save state" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="rewind_enable"
|
||||
android:summary="Rewind a game in real-time (WARNING - very CPU intensive)."
|
||||
android:title="Rewind" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen android:title="Video Config" >
|
||||
@ -16,6 +21,11 @@
|
||||
android:key="video_smooth"
|
||||
android:summary="Applies bilinear filter, smooths out edges"
|
||||
android:title="Bilinear filter" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="video_allow_rotate"
|
||||
android:summary="Will auto-rotate the screen for vertically oriented games."
|
||||
android:title="Auto-rotate" />
|
||||
|
||||
<ListPreference
|
||||
android:entryValues="@array/aspect_values"
|
||||
@ -39,4 +49,4 @@
|
||||
android:title="Dynamic Rate Control" />
|
||||
|
||||
</PreferenceScreen>
|
||||
</PreferenceScreen>
|
||||
</PreferenceScreen>
|
||||
|
@ -136,7 +136,9 @@ public class ModuleActivity extends Activity implements
|
||||
config.setBoolean("audio_rate_control", prefs.getBoolean("audio_rate_control", true));
|
||||
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_save", prefs.getBoolean("savestate_auto_save", false));
|
||||
config.setBoolean("rewind_enable", prefs.getBoolean("rewind_enable", false));
|
||||
|
||||
String aspect = prefs.getString("video_aspect_ratio", "auto");
|
||||
if (aspect.equals("full")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user