sys_patch: Add basic USB 1.1 support

Ref: https://github.com/dortania/OpenCore-Legacy-Patcher/issues/1021
This commit is contained in:
Mykola Grymalyuk
2023-01-06 22:02:47 -07:00
parent a5d56147c0
commit 4cc9e414d2
7 changed files with 84 additions and 32 deletions
+1 -11
View File
@@ -252,14 +252,4 @@ class generate_defaults:
self.constants.disable_cs_lv = True
if os_data.os_data.ventura in self.constants.legacy_accel_support:
# Only disable AMFI if we officially support Ventura
self.constants.disable_amfi = True
if self.host_is_target:
self.constants.host_is_non_metal = True
# If a Mac is non-Metal based, Beta Blur is highly recommended
if self.constants.detected_os >= os_data.os_data.big_sur:
for arg in ["Moraea_BlurBeta"]:
# If user explicitly set the blur, don't override
arg_result = subprocess.run(["defaults", "read", "-g", arg], stdout=subprocess.PIPE).stdout.decode("utf-8").strip()
if arg_result not in ["true", "1", "false", "0"]:
subprocess.run(["defaults", "write", "-g", arg, "-bool", "TRUE"])
self.constants.disable_amfi = True