We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pciids/pci.ids
1 parent 79fea61 commit 8331242Copy full SHA for 8331242
src/detection/gpu/gpu_pci.c
@@ -47,6 +47,8 @@ static const FFstrbuf* loadPciIds()
47
}
48
#elif __OpenBSD__ || __FreeBSD__ || __NetBSD__
49
ffReadFileBuffer(_PATH_LOCALBASE "/share/hwdata/pci.ids", &pciids);
50
+ if (pciids.length == 0)
51
+ ffReadFileBuffer(_PATH_LOCALBASE "/share/pciids/pci.ids", &pciids);
52
#elif __sun
53
ffReadFileBuffer(FASTFETCH_TARGET_DIR_ROOT "/usr/share/hwdata/pci.ids", &pciids);
54
#elif __HAIKU__
0 commit comments