mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
Fix ThirdPartyDrives model detection
Reference: https://github.com/dortania/Opencore-Legacy-Patcher/issues/83
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
## 0.0.15
|
||||
- Add user-configurable OpenCore DEBUG builds
|
||||
- Add user-configurable Wifi and GPU patches
|
||||
- Fix ThirdPartyDrives model detection
|
||||
|
||||
## 0.0.14
|
||||
- Enable ThirdPartyDrives to aid with hibernation on 3rd party SATA drives
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -664,7 +664,7 @@
|
||||
<key>SetApfsTrimTimeout</key>
|
||||
<integer>-1</integer>
|
||||
<key>ThirdPartyDrives</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>XhciPortLimit</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
||||
Reference in New Issue
Block a user