mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Hide SPPT for unsupported models https://github.com/seerge/g-helper/issues/1753
This commit is contained in:
@@ -790,6 +790,7 @@ namespace GHelper
|
|||||||
{
|
{
|
||||||
|
|
||||||
bool modeA0 = (Program.acpi.DeviceGet(AsusACPI.PPT_TotalA0) >= 0 || RyzenControl.IsAMD());
|
bool modeA0 = (Program.acpi.DeviceGet(AsusACPI.PPT_TotalA0) >= 0 || RyzenControl.IsAMD());
|
||||||
|
bool modeA3 = Program.acpi.DeviceGet(AsusACPI.PPT_APUA3) >= 0;
|
||||||
bool modeB0 = Program.acpi.IsAllAmdPPT();
|
bool modeB0 = Program.acpi.IsAllAmdPPT();
|
||||||
bool modeC1 = Program.acpi.DeviceGet(AsusACPI.PPT_APUC1) >= 0;
|
bool modeC1 = Program.acpi.DeviceGet(AsusACPI.PPT_APUC1) >= 0;
|
||||||
|
|
||||||
@@ -815,6 +816,7 @@ namespace GHelper
|
|||||||
labelLeftA3.Text = "CPU Slow (sPPT)";
|
labelLeftA3.Text = "CPU Slow (sPPT)";
|
||||||
labelLeftC1.Text = "CPU Fast (fPPT)";
|
labelLeftC1.Text = "CPU Fast (fPPT)";
|
||||||
panelC1.Visible = modeC1;
|
panelC1.Visible = modeC1;
|
||||||
|
panelA3.Visible = modeA3;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user