Set iGPUless iMacs correctly

iMac15,1 expects an iGPU, so these models should be set to iMacPro1,1 instead
This commit is contained in:
Mykola Grymalyuk
2021-03-29 10:52:16 -06:00
parent 1f6dfbfd30
commit bf8892878d
3 changed files with 12 additions and 3 deletions

View File

@@ -7,6 +7,8 @@
- Move Apple binaries to dedicated repo and allow custom repos
- Reduces App size 1/5th compared to 0.0.19
- Fix OpenCanopy support on iMac7,1 and 8,1
- Set iGPU-less iMacs to iMacPro1,1
- Additionally fixes Bluetooth on older iMacs with BRCM2046 modules
## 0.0.19
- Add SMC-Spoof.kext to avoid triggering `smcupdater`

View File

@@ -504,9 +504,8 @@ Macmini71 = [
"Macmini6,1",
"Macmini6,2"
]
# iMac = AMD and Nvidia GPU
iMac151 = [
# iMacPro = dGPU only iMacs
iMacPro11 = [
"iMac7,1",
"iMac8,1",
"iMac9,1",
@@ -514,6 +513,10 @@ iMac151 = [
"iMac11,1",
"iMac11,2",
"iMac11,3",
]
# iMac = AMD and Nvidia GPU with iGPU
iMac151 = [
"iMac12,1",
"iMac12,2",
"iMac13,2",

View File

@@ -318,6 +318,10 @@ class BuildOpenCore:
print("- Spoofing to Macmini7,1")
spoofed_model = "Macmini7,1"
spoofed_board = "Mac-35C5E08120C7EEAF"
elif self.model in ModelArray.iMacPro11:
print("- Spoofing to iMacPro1,1")
spoofed_model = "iMacPro1,1"
spoofed_board = "Mac-7BA5B2D9E42DDD94"
elif self.model in ModelArray.iMac151:
# Check for upgraded GPUs on iMacs
if self.constants.metal_build is True: