mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
Expand IOHIDFamily Patch to all Nvidia chipsets
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# OpenCore Legacy Patcher changelog
|
||||
|
||||
## 0.0.2
|
||||
- Expand IOHIDFamily Patch to all Nvidia chipsets
|
||||
|
||||
## 0.0.1
|
||||
- Inital developer preview
|
||||
@@ -161,6 +161,12 @@ def BuildEFI():
|
||||
"#PciRoot(0x0)/Pci(0x1C,0x1)Pci(0x0,0x0)",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x1)Pci(0x0,0x0)"
|
||||
)
|
||||
if current_model in ModelArray.LegacyHID:
|
||||
Versions.plist_data = Versions.plist_data.replace(
|
||||
"<false/><!--IOHIDFamily-->",
|
||||
"<true/><!--IOHIDFamily-->"
|
||||
)
|
||||
|
||||
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):
|
||||
print("- Adding USB Map for %s" % current_model)
|
||||
|
||||
Reference in New Issue
Block a user