mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
build.py: Set arch logic
This commit is contained in:
@@ -988,6 +988,8 @@ class BuildOpenCore:
|
|||||||
if self.model in smbios_data.smbios_dictionary:
|
if self.model in smbios_data.smbios_dictionary:
|
||||||
gpu_dict = smbios_data.smbios_dictionary[self.model]["Stock GPUs"]
|
gpu_dict = smbios_data.smbios_dictionary[self.model]["Stock GPUs"]
|
||||||
for gpu in gpu_dict:
|
for gpu in gpu_dict:
|
||||||
|
if not self.constants.custom_model:
|
||||||
|
gpu = gpu.arch
|
||||||
if gpu in [
|
if gpu in [
|
||||||
device_probe.Intel.Archs.Ivy_Bridge,
|
device_probe.Intel.Archs.Ivy_Bridge,
|
||||||
device_probe.Intel.Archs.Haswell,
|
device_probe.Intel.Archs.Haswell,
|
||||||
|
|||||||
Reference in New Issue
Block a user