Fix ThirdPartyDrives model detection

Reference: https://github.com/dortania/Opencore-Legacy-Patcher/issues/83
This commit is contained in:
Mykola Grymalyuk
2021-03-07 12:43:12 -07:00
parent 65cb3cf7f0
commit 90274eef33
4 changed files with 19 additions and 1 deletions

View File

@@ -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")