Skip to content

Commit

Permalink
what?
Browse files Browse the repository at this point in the history
  • Loading branch information
Zormeister authored Aug 28, 2024
1 parent 147c098 commit a0438bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lilu/Sources/kern_devinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit a0438bc

Please sign in to comment.