diff --git a/Android/src/emu/project64/game/GameLifecycleHandler.java b/Android/src/emu/project64/game/GameLifecycleHandler.java index 41084b13e..7c5a22191 100644 --- a/Android/src/emu/project64/game/GameLifecycleHandler.java +++ b/Android/src/emu/project64/game/GameLifecycleHandler.java @@ -326,25 +326,9 @@ public class GameLifecycleHandler implements View.OnKeyListener, SurfaceHolder.C public void onSettingDone () { - float touchscreenScale = ((float)NativeExports.UISettingsLoadDword(UISettingID.TouchScreen_ButtonScale.getValue())) / 100.0f; - boolean recreateTouchScreenControls = false; - if (touchscreenScale != mtouchscreenScale) - { - mtouchscreenScale = touchscreenScale; - recreateTouchScreenControls = true; - } - - String layout = NativeExports.UISettingsLoadString(UISettingID.TouchScreen_Layout.getValue()); - if (layout != mlayout) - { - mlayout = layout; - recreateTouchScreenControls = true; - } - - if (recreateTouchScreenControls) - { - CreateTouchScreenControls(); - } + mtouchscreenScale = ((float)NativeExports.UISettingsLoadDword(UISettingID.TouchScreen_ButtonScale.getValue())) / 100.0f; + mlayout = NativeExports.UISettingsLoadString(UISettingID.TouchScreen_Layout.getValue()); + CreateTouchScreenControls(); } private void CreateTouchScreenControls()