This is not a perf config but a regular config value.

This commit is contained in:
Carsten Braun
2023-05-16 13:34:40 +02:00
parent 63c1829edd
commit 8370217cef

View File

@@ -1286,7 +1286,7 @@ namespace GHelper
AutoFans();
AutoPower(1000);
if (Program.config.getConfigPerf("auto_apply_power_plan") != 0)
if (Program.config.getConfig("auto_apply_power_plan") != 0)
{
if (Program.config.getConfigPerfString("scheme") is not null)
NativeMethods.SetPowerScheme(Program.config.getConfigPerfString("scheme"));