mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
sys_patch_detect: prioritize USB 3.0 support
This commit is contained in:
@@ -369,6 +369,12 @@ class detect_root_patch:
|
||||
if self.constants.detected_os < os_data.os_data.ventura:
|
||||
return False
|
||||
|
||||
for controller in self.constants.computer.usb_controllers:
|
||||
if (isinstance(controller, device_probe.XHCIController)):
|
||||
# Currently USB 1.1 patches are incompatible with USB 3.0 controllers
|
||||
# TODO: Downgrade remaining USB stack to ensure full support
|
||||
return False
|
||||
|
||||
# If we're on a hackintosh, check for UHCI/OHCI controllers
|
||||
if self.constants.host_is_hackintosh is True:
|
||||
for controller in self.constants.computer.usb_controllers:
|
||||
|
||||
Reference in New Issue
Block a user