mirror of
https://github.com/libretro/RetroArch
synced 2025-01-28 14:54:03 +00:00
Enable overlays by default.
This commit is contained in:
parent
7c841c18b3
commit
f8b86b56dd
@ -43,7 +43,7 @@
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="Overlay" >
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:defaultValue="true"
|
||||
android:key="input_overlay_enable"
|
||||
android:title="Enable" />
|
||||
|
||||
|
@ -234,9 +234,13 @@ public class RetroArch extends Activity implements
|
||||
config.setString("video_fbo_scale_x", prefs.getString("video_fbo_scale", "2.0"));
|
||||
config.setString("video_fbo_scale_y", prefs.getString("video_fbo_scale", "2.0"));
|
||||
|
||||
config.setString("input_overlay",
|
||||
prefs.getBoolean("input_overlay_enable", false) ?
|
||||
prefs.getString("input_overlay", "") : "");
|
||||
boolean useOverlay = prefs.getBoolean("input_overlay_enable", true);
|
||||
if (useOverlay) {
|
||||
String overlayPath = prefs.getString("input_overlay", getCacheDir() + "/Overlays/basic_overlay.cfg");
|
||||
config.setString("input_overlay", overlayPath);
|
||||
} else {
|
||||
config.setString("input_overlay", "");
|
||||
}
|
||||
|
||||
String confPath = getDefaultConfigPath();
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user