mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 20:58:21 +10:00
defaults: Skip disabled GPUs
This commit is contained in:
@@ -157,6 +157,9 @@ class generate_defaults:
|
||||
|
||||
for gpu in gpu_dict:
|
||||
if self.host_is_target:
|
||||
if gpu.class_code:
|
||||
if gpu.class_code == 0xFFFFFFFF:
|
||||
continue
|
||||
gpu = gpu.arch
|
||||
|
||||
# Legacy Metal Logic
|
||||
|
||||
Reference in New Issue
Block a user