mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
usb11.py: Add USB webcam test patch
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
- coreautha crashes on macOS 14.4 or later
|
||||
- ApplePay on macOS 15.5
|
||||
- Increment binaries:
|
||||
- PatcherSupportPkg 1.9.4 - release
|
||||
- PatcherSupportPkg 1.9.5 - release
|
||||
|
||||
## 2.3.2
|
||||
- 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:
|
||||
# Patcher Versioning
|
||||
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.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:
|
||||
"""
|
||||
Patches for USB 1.1 Controller
|
||||
@@ -122,4 +140,5 @@ class USB11Controller(BaseHardware):
|
||||
return {
|
||||
**self._base_patches(),
|
||||
**self._extended_patches(),
|
||||
**self._usb_webcam_patches(),
|
||||
}
|
||||
Reference in New Issue
Block a user