mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 22:00:00 +10:00
Fix missing SSDT-CPBG patch
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
## 0.0.7
|
## 0.0.7
|
||||||
- Add MacPro3,1 to HID patch
|
- Add MacPro3,1 to HID patch
|
||||||
|
- Fix missing SSDT-CPBG patch
|
||||||
|
|
||||||
## 0.0.6
|
## 0.0.6
|
||||||
- Fix macserial crashing
|
- Fix macserial crashing
|
||||||
|
|||||||
@@ -212,6 +212,14 @@ def BuildEFI():
|
|||||||
"<true/><!--VoodooHDA-->"
|
"<true/><!--VoodooHDA-->"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if current_model in ModelArray.pciSSDT:
|
||||||
|
print("- Adding SSDT-CPBG")
|
||||||
|
copy(Versions.pci_ssdt_path, Versions.acpi_path_build)
|
||||||
|
Versions.plist_data = Versions.plist_data.replace(
|
||||||
|
"<false/><!--SSDT-CPBG-->",
|
||||||
|
"<true/><!--SSDT-CPBG-->"
|
||||||
|
)
|
||||||
|
|
||||||
usb_map_path = os.path.join(Versions.current_path, "payloads/Kexts/Maps/Zip/" "USB-Map-%s.zip" % current_model)
|
usb_map_path = os.path.join(Versions.current_path, "payloads/Kexts/Maps/Zip/" "USB-Map-%s.zip" % current_model)
|
||||||
if os.path.exists(usb_map_path):
|
if os.path.exists(usb_map_path):
|
||||||
print("- Adding USB Map for %s" % current_model)
|
print("- Adding USB Map for %s" % current_model)
|
||||||
|
|||||||
Reference in New Issue
Block a user