mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
Fix crash on missing dGPU
This commit is contained in:
@@ -41,6 +41,7 @@ class OpenCoreLegacyPatcher:
|
|||||||
if model in ModelArray.LegacyGPU:
|
if model in ModelArray.LegacyGPU:
|
||||||
if (
|
if (
|
||||||
host_is_target
|
host_is_target
|
||||||
|
and self.computer.dgpu
|
||||||
and self.computer.dgpu.arch
|
and self.computer.dgpu.arch
|
||||||
in [
|
in [
|
||||||
device_probe.AMD.Archs.Legacy_GCN,
|
device_probe.AMD.Archs.Legacy_GCN,
|
||||||
|
|||||||
Reference in New Issue
Block a user