mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
Fix GMUX switching
Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/574
This commit is contained in:
@@ -359,8 +359,6 @@ class BuildOpenCore:
|
|||||||
Path(self.constants.amc_contents_folder).mkdir()
|
Path(self.constants.amc_contents_folder).mkdir()
|
||||||
shutil.copy(amc_map_path, self.constants.amc_contents_folder)
|
shutil.copy(amc_map_path, self.constants.amc_contents_folder)
|
||||||
self.get_kext_by_bundle_path("AMC-Override.kext")["Enabled"] = True
|
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:
|
if self.model not in model_array.NoAGPMSupport:
|
||||||
print("- Adding AppleGraphicsPowerManagement Override")
|
print("- Adding AppleGraphicsPowerManagement Override")
|
||||||
|
|||||||
Reference in New Issue
Block a user