Skip to content

Commit 59ac0c3

Browse files
committed
Fix missing SSDT-CPBG patch
1 parent dc7560b commit 59ac0c3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 0.0.7
44
- Add MacPro3,1 to HID patch
5+
- Fix missing SSDT-CPBG patch
56

67
## 0.0.6
78
- Fix macserial crashing

Resources/BuildOpenCore.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,14 @@ def BuildEFI():
212212
"<true/><!--VoodooHDA-->"
213213
)
214214

215+
if current_model in ModelArray.pciSSDT:
216+
print("- Adding SSDT-CPBG")
217+
copy(Versions.pci_ssdt_path, Versions.acpi_path_build)
218+
Versions.plist_data = Versions.plist_data.replace(
219+
"<false/><!--SSDT-CPBG-->",
220+
"<true/><!--SSDT-CPBG-->"
221+
)
222+
215223
usb_map_path = os.path.join(Versions.current_path, "payloads/Kexts/Maps/Zip/" "USB-Map-%s.zip" % current_model)
216224
if os.path.exists(usb_map_path):
217225
print("- Adding USB Map for %s" % current_model)

0 commit comments

Comments
 (0)