mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 22:50:51 +10:00
usb11.py: Add USB webcam test patch
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
- coreautha crashes on macOS 14.4 or later
|
- coreautha crashes on macOS 14.4 or later
|
||||||
- ApplePay on macOS 15.5
|
- ApplePay on macOS 15.5
|
||||||
- Increment binaries:
|
- Increment binaries:
|
||||||
- PatcherSupportPkg 1.9.4 - release
|
- PatcherSupportPkg 1.9.5 - release
|
||||||
|
|
||||||
## 2.3.2
|
## 2.3.2
|
||||||
- Resolve erroring in Passwords app and Safari Autofill on T1 Macs running 15.4 or later
|
- Resolve erroring in Passwords app and Safari Autofill on T1 Macs running 15.4 or later
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ class Constants:
|
|||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
# Patcher Versioning
|
# Patcher Versioning
|
||||||
self.patcher_version: str = "2.4.0" # OpenCore-Legacy-Patcher
|
self.patcher_version: str = "2.4.0" # OpenCore-Legacy-Patcher
|
||||||
self.patcher_support_pkg_version: str = "1.9.4" # PatcherSupportPkg
|
self.patcher_support_pkg_version: str = "1.9.5" # PatcherSupportPkg
|
||||||
self.copyright_date: str = "Copyright © 2020-2025 Dortania"
|
self.copyright_date: str = "Copyright © 2020-2025 Dortania"
|
||||||
self.patcher_name: str = "OpenCore Legacy Patcher"
|
self.patcher_name: str = "OpenCore Legacy Patcher"
|
||||||
|
|
||||||
|
|||||||
@@ -112,6 +112,24 @@ class USB11Controller(BaseHardware):
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def _usb_webcam_patches(self) -> dict:
|
||||||
|
"""
|
||||||
|
Patches for USB 1.1 Webcam
|
||||||
|
"""
|
||||||
|
if self._xnu_major < os_data.sequoia.value:
|
||||||
|
return {}
|
||||||
|
|
||||||
|
return {
|
||||||
|
"Legacy USB 1.1 Webcam": {
|
||||||
|
PatchType.MERGE_SYSTEM_VOLUME: {
|
||||||
|
"/System/Library/Frameworks": {
|
||||||
|
"IOUSBHost.framework": "14.6.1",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
def patches(self) -> dict:
|
def patches(self) -> dict:
|
||||||
"""
|
"""
|
||||||
Patches for USB 1.1 Controller
|
Patches for USB 1.1 Controller
|
||||||
@@ -122,4 +140,5 @@ class USB11Controller(BaseHardware):
|
|||||||
return {
|
return {
|
||||||
**self._base_patches(),
|
**self._base_patches(),
|
||||||
**self._extended_patches(),
|
**self._extended_patches(),
|
||||||
|
**self._usb_webcam_patches(),
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user