mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-18 05:10:00 +10:00
Fix ThirdPartyDrives model detection
Reference: https://github.com/dortania/Opencore-Legacy-Patcher/issues/83
This commit is contained in:
@@ -801,4 +801,16 @@ NightShiftExclude = [
|
||||
|
||||
UGAtoGOP = [
|
||||
"MacPro3,1"
|
||||
]
|
||||
|
||||
NoSATAPatch = [
|
||||
"MacBookAir5,1",
|
||||
"MacBookAir5,2",
|
||||
"MacBookPro10,1",
|
||||
"MacBookPro10,2",
|
||||
"iMac13,1",
|
||||
"iMac13,2",
|
||||
"iMac14,1",
|
||||
"iMac14,2",
|
||||
"iMac14,3",
|
||||
]
|
||||
@@ -202,6 +202,11 @@ class BuildOpenCore:
|
||||
print("- Adding UGA to GOP Patch")
|
||||
self.config["UEFI"]["ProtocolOverrides"]["GopPassThrough"] = True
|
||||
|
||||
# ThridPartDrives Check
|
||||
if self.model not in ModelArray.NoSATAPatch:
|
||||
print("- Adding SATA Hibernation Patch")
|
||||
self.config["Kernel"]["Quirks"]["ThirdPartyDrives"] = True
|
||||
|
||||
#DEBUG Settings
|
||||
if self.constants.verbose_debug == True:
|
||||
print("- Enabling Verbose boot")
|
||||
|
||||
Reference in New Issue
Block a user