mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-27 12:15:19 +01:00
change defaults for SSDT generation because it is done before
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
8209394af9
commit
93196411ad
@ -3752,12 +3752,13 @@ static void getACPISettings(const TagDict *CfgDict)
|
|||||||
|
|
||||||
} else if (Prop2->isDict()) {
|
} else if (Prop2->isDict()) {
|
||||||
const TagStruct* Prop = Prop2->getDict()->propertyForKey("PStates");
|
const TagStruct* Prop = Prop2->getDict()->propertyForKey("PStates");
|
||||||
gSettings.ACPI.SSDT.Generate.GeneratePStates = IsPropertyNotNullAndTrue(Prop);
|
if (Prop) {
|
||||||
gSettings.ACPI.SSDT.Generate.GenerateAPSN = gSettings.ACPI.SSDT.Generate.GeneratePStates;
|
gSettings.ACPI.SSDT.Generate.GeneratePStates = IsPropertyNotNullAndTrue(Prop);
|
||||||
gSettings.ACPI.SSDT.Generate.GenerateAPLF = gSettings.ACPI.SSDT.Generate.GeneratePStates;
|
}
|
||||||
gSettings.ACPI.SSDT.Generate.GeneratePluginType = gSettings.ACPI.SSDT.Generate.GeneratePStates;
|
|
||||||
Prop = Prop2->getDict()->propertyForKey("CStates");
|
Prop = Prop2->getDict()->propertyForKey("CStates");
|
||||||
gSettings.ACPI.SSDT.Generate.GenerateCStates = IsPropertyNotNullAndTrue(Prop);
|
if (Prop) {
|
||||||
|
gSettings.ACPI.SSDT.Generate.GenerateCStates = IsPropertyNotNullAndTrue(Prop);
|
||||||
|
}
|
||||||
Prop = Prop2->getDict()->propertyForKey("APSN");
|
Prop = Prop2->getDict()->propertyForKey("APSN");
|
||||||
if (Prop) {
|
if (Prop) {
|
||||||
gSettings.ACPI.SSDT.Generate.GenerateAPSN = IsPropertyNotNullAndTrue(Prop);
|
gSettings.ACPI.SSDT.Generate.GenerateAPSN = IsPropertyNotNullAndTrue(Prop);
|
||||||
|
Loading…
Reference in New Issue
Block a user