This commit is contained in:
Serge
2024-11-11 10:36:57 +01:00
parent c2c5d2a0c5
commit 871f80f654
4 changed files with 8 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ namespace GHelper.Gpu
// GPU mode not supported
if (eco < 0 && mux < 0)
{
if (gpuExists is null) gpuExists = Program.acpi.GetFan(AsusFan.GPU) >= 0;
if (gpuExists is null) gpuExists = (!AppConfig.NoGpu()) && Program.acpi.GetFan(AsusFan.GPU) >= 0;
settings.HideGPUModes((bool)gpuExists);
}
}