mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-28 12:18:42 +00:00
Move libusb context initialization to on first use
This prevents libusb warnings from showing up even when the user is not using Bluetooth or USB passthrough, or the Wii U GC adapter.
This commit is contained in:
parent
db7ee668ff
commit
6a0bf24e0b
4 changed files with 9 additions and 31 deletions
|
@ -12,9 +12,6 @@
|
|||
|
||||
namespace USBUtils
|
||||
{
|
||||
void Init();
|
||||
void Shutdown();
|
||||
|
||||
std::map<std::pair<u16, u16>, std::string> GetInsertedDevices();
|
||||
std::string GetDeviceName(std::pair<u16, u16> vid_pid);
|
||||
} // namespace USBUtils
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue