mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Ally XGM binding
This commit is contained in:
@@ -571,7 +571,6 @@ public class AsusACPI
|
||||
|
||||
public bool IsXGConnected()
|
||||
{
|
||||
//return true;
|
||||
return DeviceGet(GPUXGConnected) == 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1327,7 +1327,12 @@ namespace GHelper
|
||||
if (AppConfig.IsAlly())
|
||||
{
|
||||
tableGPU.Visible = false;
|
||||
if (Program.acpi.IsXGConnected()) tableAMD.Controls.Add(buttonXGM, 1, 0);
|
||||
labelGPU.Text = "GPU";
|
||||
if (Program.acpi.IsXGConnected())
|
||||
{
|
||||
tableAMD.Controls.Add(buttonXGM, 1, 0);
|
||||
VisualizeXGM();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user