Skip to content

Commit

Permalink
Better warning for windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Parlane committed Dec 31, 2012
1 parent c1b8aa7 commit 90ce6ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_hid.cpp
Expand Up @@ -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
{
ERROR_LOG(WII_IPC_HID, "libusb_open failed to open device with error = %d", ret);
Expand Down

0 comments on commit 90ce6ad

Please sign in to comment.