mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 16:20:27 +00:00
Add integer scale to Android.
This commit is contained in:
parent
483d877498
commit
a4fc614a03
@ -72,6 +72,11 @@
|
||||
android:key="video_allow_rotate"
|
||||
android:summary="Will auto-rotate the screen for vertically oriented games."
|
||||
android:title="Auto-rotate" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="video_scale_integer"
|
||||
android:summary="Scales video only in whole steps of game resolution. Useful when playing without bilinear filtering."
|
||||
android:title="Scale integer" />
|
||||
|
||||
<ListPreference
|
||||
android:entries="@array/aspect_ratios"
|
||||
|
@ -389,6 +389,8 @@ public class RetroArch extends Activity implements
|
||||
config.setDouble("video_aspect_ratio", aspect_ratio);
|
||||
}
|
||||
|
||||
config.setBoolean("video_scale_integer", prefs.getBoolean("video_scale_integer", false));
|
||||
|
||||
String shaderPath = prefs.getString("video_bsnes_shader", "");
|
||||
if (prefs.getBoolean("video_shader_enable", false) && new File(shaderPath).exists()) {
|
||||
config.setString("video_shader_type", "bsnes");
|
||||
|
Loading…
x
Reference in New Issue
Block a user