mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-23 11:30:15 +10:00
Fix Ironlake typo
This commit is contained in:
@@ -229,7 +229,7 @@ class Constants:
|
|||||||
@property
|
@property
|
||||||
def legacy_amd_path(self): return self.legacy_graphics / Path("AMD-ATI")
|
def legacy_amd_path(self): return self.legacy_graphics / Path("AMD-ATI")
|
||||||
@property
|
@property
|
||||||
def legacy_intel_gen1_path(self): return self.legacy_graphics / Path("Intel-Gen5-Iconlake")
|
def legacy_intel_gen1_path(self): return self.legacy_graphics / Path("Intel-Gen5-Ironlake")
|
||||||
@property
|
@property
|
||||||
def legacy_intel_gen2_path(self): return self.legacy_graphics / Path("Intel-Gen6-SandyBridge")
|
def legacy_intel_gen2_path(self): return self.legacy_graphics / Path("Intel-Gen6-SandyBridge")
|
||||||
|
|
||||||
@@ -265,3 +265,22 @@ class Constants:
|
|||||||
"CSR_ALLOW_EXECUTABLE_POLICY_OVERRIDE": False, # 0x400 - Introduced in Mojave
|
"CSR_ALLOW_EXECUTABLE_POLICY_OVERRIDE": False, # 0x400 - Introduced in Mojave
|
||||||
"CSR_ALLOW_UNAUTHENTICATED_ROOT ": False, # 0x800 - Introduced in Big Sur
|
"CSR_ALLOW_UNAUTHENTICATED_ROOT ": False, # 0x800 - Introduced in Big Sur
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sbm_values = [
|
||||||
|
"j137",
|
||||||
|
"j680",
|
||||||
|
"j132",
|
||||||
|
"j174",
|
||||||
|
"j140k",
|
||||||
|
"j780",
|
||||||
|
"j213",
|
||||||
|
"j140a",
|
||||||
|
"j152f",
|
||||||
|
"j160",
|
||||||
|
"j230k",
|
||||||
|
"j214k",
|
||||||
|
"j223",
|
||||||
|
"j215",
|
||||||
|
"j185",
|
||||||
|
"j185f",
|
||||||
|
]
|
||||||
@@ -879,6 +879,7 @@ AddIntelGen1Accel = [
|
|||||||
"AppleIntelHDGraphicsGA.plugin",
|
"AppleIntelHDGraphicsGA.plugin",
|
||||||
"AppleIntelHDGraphicsGLDriver.bundle",
|
"AppleIntelHDGraphicsGLDriver.bundle",
|
||||||
"AppleIntelHDGraphicsVADriver.bundle",
|
"AppleIntelHDGraphicsVADriver.bundle",
|
||||||
|
"IOSurface.kext",
|
||||||
]
|
]
|
||||||
|
|
||||||
AddIntelGen2Accel = [
|
AddIntelGen2Accel = [
|
||||||
@@ -888,4 +889,5 @@ AddIntelGen2Accel = [
|
|||||||
"AppleIntelHD3000GraphicsVADriver.bundle",
|
"AppleIntelHD3000GraphicsVADriver.bundle",
|
||||||
"AppleIntelSNBGraphicsFB.kext",
|
"AppleIntelSNBGraphicsFB.kext",
|
||||||
"AppleIntelSNBVA.bundle",
|
"AppleIntelSNBVA.bundle",
|
||||||
|
"IOSurface.kext",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -114,9 +114,11 @@ class PatchSysVolume:
|
|||||||
self.add_new_binaries(ModelArray.AddAMDAccel11, self.constants.legacy_amd_path)
|
self.add_new_binaries(ModelArray.AddAMDAccel11, self.constants.legacy_amd_path)
|
||||||
if self.model in ModelArray.LegacyGPUIntelGen1:
|
if self.model in ModelArray.LegacyGPUIntelGen1:
|
||||||
print("- Merging legacy Intel 1st Gen Kexts and Bundles")
|
print("- Merging legacy Intel 1st Gen Kexts and Bundles")
|
||||||
|
self.delete_old_binaries(ModelArray.DeleteNvidiaAccel11)
|
||||||
self.add_new_binaries(ModelArray.AddIntelGen1Accel, self.constants.legacy_intel_gen1_path)
|
self.add_new_binaries(ModelArray.AddIntelGen1Accel, self.constants.legacy_intel_gen1_path)
|
||||||
elif self.model in ModelArray.LegacyGPUIntelGen2:
|
elif self.model in ModelArray.LegacyGPUIntelGen2:
|
||||||
print("- Merging legacy Intel 2nd Gen Kexts and Bundles")
|
print("- Merging legacy Intel 2nd Gen Kexts and Bundles")
|
||||||
|
self.delete_old_binaries(ModelArray.DeleteNvidiaAccel11)
|
||||||
self.add_new_binaries(ModelArray.AddIntelGen2Accel, self.constants.legacy_intel_gen2_path)
|
self.add_new_binaries(ModelArray.AddIntelGen2Accel, self.constants.legacy_intel_gen2_path)
|
||||||
# iMac10,1 came in both AMD and Nvidia GPU models, so we must do hardware detection
|
# iMac10,1 came in both AMD and Nvidia GPU models, so we must do hardware detection
|
||||||
if self.model == "iMac10,1":
|
if self.model == "iMac10,1":
|
||||||
|
|||||||
Reference in New Issue
Block a user