summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authorGreg V <greg@unrelenting.technology>2018-02-05 00:46:59 +0300
committerGreg V <greg@unrelenting.technology>2018-02-05 00:46:59 +0300
commitbe716a680fdf36fb55d9300668d4db09a76e509b (patch)
tree5c9e07d3f81c199388776af29eb4d070cadd9a20 /Source/Core/VideoCommon/BPStructs.cpp
parent44391ad2fedc41ef5ae19cc848845d1003f9727d (diff)
Do not link to libusbhid on FreeBSD/NetBSD
Both libusbhid (system library) and libhidapi (3rd party library) provide a function called hid_init. Dolphin was being linked to both. The WiimoteScannerHidapi constructor was calling hid_init without arguments. libusbhid's hid_init expects one argument (a file path). It was being called as if it was defined without arguments, which resulted in a garbage path being passed in, and because of that, the Qt GUI was failing to launch with the following error: 'dolphin-emu-qt2: @ : No such file or directory'
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
0 files changed, 0 insertions, 0 deletions