mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 19:20:48 +00:00
(Android) fix input overlay enable
This commit is contained in:
parent
b25d6a5c25
commit
34f161f1c9
@ -230,7 +230,7 @@ public final class UserPreferences
|
|||||||
config.setString("video_shader", shaderPath);
|
config.setString("video_shader", shaderPath);
|
||||||
config.setBoolean("video_shader_enable", prefs.getBoolean("video_shader_enable", false) && new File(shaderPath).exists());
|
config.setBoolean("video_shader_enable", prefs.getBoolean("video_shader_enable", false) && new File(shaderPath).exists());
|
||||||
|
|
||||||
config.setBoolean("input_overlay_enable", prefs.getBoolean("input_overlay_enable", true));
|
config.setBoolean("input_overlay_enable", prefs.getBoolean("input_overlay_enable", false));
|
||||||
config.setString("input_overlay", prefs.getString("input_overlay", ""));
|
config.setString("input_overlay", prefs.getString("input_overlay", ""));
|
||||||
|
|
||||||
// Set whether or not custom directories are being used.
|
// Set whether or not custom directories are being used.
|
||||||
|
@ -384,8 +384,7 @@ void config_set_defaults(void)
|
|||||||
|
|
||||||
g_settings.input.overlay_enable = false;
|
g_settings.input.overlay_enable = false;
|
||||||
|
|
||||||
if (g_defaults.settings.input_overlay_enable)
|
g_settings.input.overlay_enable = g_defaults.settings.input_overlay_enable;
|
||||||
g_settings.input.overlay_enable = g_defaults.settings.input_overlay_enable;
|
|
||||||
|
|
||||||
g_settings.input.overlay_opacity = 0.7f;
|
g_settings.input.overlay_opacity = 0.7f;
|
||||||
g_settings.input.overlay_scale = 1.0f;
|
g_settings.input.overlay_scale = 1.0f;
|
||||||
|
Loading…
Reference in New Issue
Block a user