diff --git a/Universal x86 Tuning Utility Handheld/Views/Windows/MainWindow.xaml.cs b/Universal x86 Tuning Utility Handheld/Views/Windows/MainWindow.xaml.cs index 8e3cf39..37ea382 100644 --- a/Universal x86 Tuning Utility Handheld/Views/Windows/MainWindow.xaml.cs +++ b/Universal x86 Tuning Utility Handheld/Views/Windows/MainWindow.xaml.cs @@ -183,6 +183,7 @@ private void Timer_Tick(object sender, EventArgs e) bool setFPS = false; bool setFan = false; string lastFan = ""; + int perfMode = -1; private async void ApplySettings() { try @@ -345,7 +346,7 @@ await Task.Run(() => Fan_Control.UpdateFanCurve(speeds); Fan_Control.enableFanControl(); } - else if (Settings.Default.isASUS && lastFan != Settings.Default.fanCurve) + else if (Settings.Default.isASUS && lastFan != Settings.Default.fanCurve || Settings.Default.isASUS && perfMode != Settings.Default.acMode) { string speedString = Settings.Default.fanCurve; string[] speedStringArray = speedString.Split('-'); @@ -375,6 +376,7 @@ await Task.Run(() => App.wmi.SetFanCurve(1, curve); lastFan = speedString; + perfMode = Settings.Default.acMode; } } else if (setFan) Fan_Control.disableFanControl();