diff --git a/android/phoenix/res/xml/prefs.xml b/android/phoenix/res/xml/prefs.xml index 680bef7518..a358afb750 100644 --- a/android/phoenix/res/xml/prefs.xml +++ b/android/phoenix/res/xml/prefs.xml @@ -67,21 +67,16 @@ android:key="video_vsync" android:summary="When set to enabled, prevents screen tearing." android:title="VSync" /> - + + + android:numeric="decimal" /> + android:title="Calibrate refresh rate"> @@ -98,7 +93,7 @@ android:key="video_aspect_ratio" android:summary="Aspect ratio to enforce." android:title="Aspect ratio" /> - + 61.0 || rate < 58.0) + rate = 59.95; + return rate; } private final double getRefreshRate() { @@ -363,12 +370,7 @@ public class RetroArch extends Activity implements config.setInt("input_autodetect_icade_profile_pad3", prefs.getInt("input_autodetect_icade_profile_pad3", 0)); config.setInt("input_autodetect_icade_profile_pad4", prefs.getInt("input_autodetect_icade_profile_pad4", 0)); - if (prefs.getBoolean("video_sync_refreshrate_to_screen", true)) { - config.setDouble("video_refresh_rate", getRefreshRate()); - } else { - Log.i(TAG, "Refresh rate set to 59.95Hz (default)."); - config.setDouble("video_refresh_rate", 59.95); - } + config.setDouble("video_refresh_rate", getRefreshRate()); String aspect = prefs.getString("video_aspect_ratio", "auto"); if (aspect.equals("full")) {