From fbd0fba13a6df8f0074d08d53a0603e946036094 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 21 Aug 2013 00:06:48 -0500 Subject: [PATCH] [Android] Fix preferences from crashing. OSD controls was supposed to be boolean. --- .../src/org/dolphinemu/dolphinemu/settings/UserPreferences.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/settings/UserPreferences.java b/Source/Android/src/org/dolphinemu/dolphinemu/settings/UserPreferences.java index 225e8b4f3b..8a0024b7a7 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/settings/UserPreferences.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/settings/UserPreferences.java @@ -38,7 +38,7 @@ public final class UserPreferences editor.putBoolean("dualCorePref", getConfig("Dolphin.ini", "Core", "CPUThread", "False").equals("True")); editor.putString("gpuPref", getConfig("Dolphin.ini", "Core", "GFXBackend ", "Software Renderer")); - editor.putString("drawOnscreenControls", getConfig("Dolphin.ini", "Android", "ScreenControls", "True")); + editor.putBoolean("drawOnscreenControls", getConfig("Dolphin.ini", "Android", "ScreenControls", "True").equals("True")); editor.putString("internalResolution", getConfig("gfx_opengl.ini", "Settings", "EFBScale", "2") ); editor.putString("anisotropicFiltering", getConfig("gfx_opengl.ini", "Enhancements", "MaxAnisotropy", "0"));