Fix crash on missing dGPU

This commit is contained in:
Mykola Grymalyuk
2021-06-18 16:46:16 -06:00
parent ac055a633c
commit f75fac14e6

View File

@@ -41,6 +41,7 @@ class OpenCoreLegacyPatcher:
if model in ModelArray.LegacyGPU:
if (
host_is_target
and self.computer.dgpu
and self.computer.dgpu.arch
in [
device_probe.AMD.Archs.Legacy_GCN,