mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Skip GPU check for UX540 https://github.com/seerge/g-helper/pull/3360
This commit is contained in:
@@ -62,8 +62,7 @@ public class AmdGpuControl : IGpuControl
|
||||
|
||||
public AmdGpuControl()
|
||||
{
|
||||
if (!Adl2.Load())
|
||||
return;
|
||||
if (!AppConfig.NoGpu() || !Adl2.Load()) return;
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user