From a0438bc44ed0729879308097e9fbdea1bd82bade Mon Sep 17 00:00:00 2001 From: Zormeister <57213163+Zormeister@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:44:58 +1000 Subject: [PATCH] what? --- Lilu/Sources/kern_devinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lilu/Sources/kern_devinfo.cpp b/Lilu/Sources/kern_devinfo.cpp index 89db40ce..e6fbd631 100644 --- a/Lilu/Sources/kern_devinfo.cpp +++ b/Lilu/Sources/kern_devinfo.cpp @@ -305,7 +305,7 @@ void DeviceInfo::grabDevicesFromPciRoot(IORegistryEntry *pciRoot) { // AZAL audio devices cannot be descrete GPU devices. // On several AMD platforms there is an IGPU, which makes AZAL be recognised as a descrete GPU/HDA pair. // REF: https://github.com/acidanthera/Lilu/pull/65 - if (((v.audio && strcmp(v.audio->getName(), "AZAL") != 0) || !v.audio) && ) { + if (((v.audio && strcmp(v.audio->getName(), "AZAL") != 0) || !v.audio) && v.video) { DBGLOG_COND(v.audio, "dev", "marking audio device as HDAU at %s", safeString(v.audio->getName())); if (!videoExternal.push_back(v)) SYSLOG("dev", "failed to push video gpu");