Sanjay Govind 11 месяцев назад
Родитель
Сommit
f5dcf2fef8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      helpers/pof_usb.c

+ 1 - 1
helpers/pof_usb.c

@@ -432,7 +432,7 @@ static const struct PoFUsbDescriptorXbox360 usb_pof_cfg_descr_x360 = {
         {
             .bLength = sizeof(struct usb_config_descriptor),
             .bDescriptorType = USB_DTYPE_CONFIGURATION,
-            .wTotalLength = sizeof(struct PoFUsbDescriptor),
+            .wTotalLength = sizeof(struct PoFUsbDescriptorXbox360),
             .bNumInterfaces = 4,
             .bConfigurationValue = 1,
             .iConfiguration = NO_DESCRIPTOR,