From 6063c0224334982aab768f08079669d37a0559b2 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Fri, 30 Dec 2022 14:22:20 -0500 Subject: [PATCH] Make HDAudio driver find with PCI code constants. --- src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC b/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC index 24042dd1..394aaaae 100644 --- a/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC +++ b/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC @@ -714,7 +714,7 @@ Bool HDAudioScan() I64 i = -1, j; while (TRUE) { - j = PCIClassFind(0x040300, ++i); + j = PCIClassFind(PCIC_MULTIMEDIA << 16 | PCISC_AUDIO << 8, ++i); if (j < 0) return FALSE;