Fix GMUX switching

Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/574
This commit is contained in:
Mykola Grymalyuk
2021-10-16 08:59:33 -06:00
parent ab22a225c4
commit 5aee1aa60f
-2
View File
@@ -359,8 +359,6 @@ class BuildOpenCore:
Path(self.constants.amc_contents_folder).mkdir()
shutil.copy(amc_map_path, self.constants.amc_contents_folder)
self.get_kext_by_bundle_path("AMC-Override.kext")["Enabled"] = True
elif self.model == "MacBookPro10,1":
self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)"] = {"agdpmod": "vit9696"}
if self.model not in model_array.NoAGPMSupport:
print("- Adding AppleGraphicsPowerManagement Override")