mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(Android) Add Vsync toggle in Settings
This commit is contained in:
parent
55376dc2b5
commit
49709b90bf
@ -21,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_vsync"
|
||||
android:summary="When set to enabled, prevents screen tearing"
|
||||
android:title="VSync" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="video_allow_rotate"
|
||||
|
@ -139,6 +139,7 @@ public class ModuleActivity extends Activity implements
|
||||
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));
|
||||
config.setBoolean("video_vsync", prefs.getBoolean("video_vsync", true));
|
||||
|
||||
String aspect = prefs.getString("video_aspect_ratio", "auto");
|
||||
if (aspect.equals("full")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user