mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
XG Mobile tweaks
This commit is contained in:
@@ -383,7 +383,7 @@ public static class AppConfig
|
||||
|
||||
public static bool IsNoGPUModes()
|
||||
{
|
||||
return ContainsModel("GV301RA") || ContainsModel("GV302XA");
|
||||
return ContainsModel("GV301RA") || ContainsModel("GV302XA") || IsAlly();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ public class AsusACPI
|
||||
|
||||
public const uint GPUEco = 0x00090020;
|
||||
|
||||
public const uint GPUXGInit = 0x00090017;
|
||||
public const uint GPUXGFlag = 0x00090017;
|
||||
public const uint GPUXGConnected = 0x00090018;
|
||||
public const uint GPUXG = 0x00090019;
|
||||
|
||||
|
||||
@@ -307,6 +307,11 @@ namespace GHelper.Gpu
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
// To be verified on XGM 3080 / 4080
|
||||
if (Program.acpi.DeviceGet(AsusACPI.GPUXGFlag) == 1)
|
||||
Program.acpi.DeviceSet(AsusACPI.GPUXG, 0x101, "GPU XGM");
|
||||
else
|
||||
Program.acpi.DeviceSet(AsusACPI.GPUXG, 1, "GPU XGM");
|
||||
|
||||
InitXGM();
|
||||
|
||||
Reference in New Issue
Block a user