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

@@ -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: