mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 15:49:50 -06:00
Better warning for windows.
This commit is contained in:
@ -514,6 +514,12 @@ libusb_device_handle * CWII_IPC_HLE_Device_hid::GetDeviceByDevNum(u32 devNum)
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef _WIN32
|
||||||
|
else if (ret == LIBUSB_ERROR_NOT_SUPPORTED)
|
||||||
|
{
|
||||||
|
WARN_LOG(WII_IPC_HID, "Please install the libusb drivers for the device %04X:%04X", ret, desc.idVendor, desc.idProduct);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ERROR_LOG(WII_IPC_HID, "libusb_open failed to open device with error = %d", ret);
|
ERROR_LOG(WII_IPC_HID, "libusb_open failed to open device with error = %d", ret);
|
||||||
|
Reference in New Issue
Block a user