mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
XGM activation https://github.com/seerge/g-helper/issues/729
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
||||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||||
<AssemblyVersion>0.119</AssemblyVersion>
|
<AssemblyVersion>0.120</AssemblyVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
|||||||
@@ -308,10 +308,8 @@ namespace GHelper.Gpu
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
if (AppConfig.Is("xgm_special"))
|
int status = Program.acpi.DeviceSet(AsusACPI.GPUXG, 0x101, "GPU XGM");
|
||||||
Program.acpi.DeviceSet(AsusACPI.GPUXG, 0x101, "GPU XGM");
|
if (status != 1) Program.acpi.DeviceSet(AsusACPI.GPUXG, 1, "GPU XGM");
|
||||||
else
|
|
||||||
Program.acpi.DeviceSet(AsusACPI.GPUXG, 1, "GPU XGM");
|
|
||||||
|
|
||||||
InitXGM();
|
InitXGM();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user