mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 13:50:00 +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
|
## 0.0.15
|
||||||
- Add user-configurable OpenCore DEBUG builds
|
- Add user-configurable OpenCore DEBUG builds
|
||||||
- Add user-configurable Wifi and GPU patches
|
- Add user-configurable Wifi and GPU patches
|
||||||
|
- Fix ThirdPartyDrives model detection
|
||||||
|
|
||||||
## 0.0.14
|
## 0.0.14
|
||||||
- Enable ThirdPartyDrives to aid with hibernation on 3rd party SATA drives
|
- Enable ThirdPartyDrives to aid with hibernation on 3rd party SATA drives
|
||||||
|
|||||||
@@ -801,4 +801,16 @@ NightShiftExclude = [
|
|||||||
|
|
||||||
UGAtoGOP = [
|
UGAtoGOP = [
|
||||||
"MacPro3,1"
|
"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")
|
print("- Adding UGA to GOP Patch")
|
||||||
self.config["UEFI"]["ProtocolOverrides"]["GopPassThrough"] = True
|
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
|
#DEBUG Settings
|
||||||
if self.constants.verbose_debug == True:
|
if self.constants.verbose_debug == True:
|
||||||
print("- Enabling Verbose boot")
|
print("- Enabling Verbose boot")
|
||||||
|
|||||||
@@ -664,7 +664,7 @@
|
|||||||
<key>SetApfsTrimTimeout</key>
|
<key>SetApfsTrimTimeout</key>
|
||||||
<integer>-1</integer>
|
<integer>-1</integer>
|
||||||
<key>ThirdPartyDrives</key>
|
<key>ThirdPartyDrives</key>
|
||||||
<true/>
|
<false/>
|
||||||
<key>XhciPortLimit</key>
|
<key>XhciPortLimit</key>
|
||||||
<false/>
|
<false/>
|
||||||
</dict>
|
</dict>
|
||||||
|
|||||||
Reference in New Issue
Block a user