mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-10 00:45:37 +00:00
Fix or silence Qt warnings
This commit is contained in:
parent
586440622b
commit
1ad0f24ecd
8 changed files with 24 additions and 10 deletions
|
|
@ -72,7 +72,7 @@ void usb_device_passthrough::read_descriptors()
|
|||
for (u8 index = 0; index < device._device.bNumConfigurations; index++)
|
||||
{
|
||||
u8 buf[1000];
|
||||
int ssize = libusb_control_transfer(lusb_handle, LIBUSB_ENDPOINT_IN | LIBUSB_REQUEST_TYPE_STANDARD | LIBUSB_RECIPIENT_DEVICE, LIBUSB_REQUEST_GET_DESCRIPTOR, 0x0200 | index, 0, buf, 1000, 0);
|
||||
int ssize = libusb_control_transfer(lusb_handle, +LIBUSB_ENDPOINT_IN | +LIBUSB_REQUEST_TYPE_STANDARD | +LIBUSB_RECIPIENT_DEVICE, LIBUSB_REQUEST_GET_DESCRIPTOR, 0x0200 | index, 0, buf, 1000, 0);
|
||||
if (ssize < 0)
|
||||
{
|
||||
sys_usbd.fatal("Couldn't get the config from the device: %d", ssize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue