mirror of https://github.com/PCSX2/pcsx2.git
USB: skip extra audio endpoint descriptor data so it doesn't get parsed twice
This commit is contained in:
parent
538e5691f0
commit
618940d78c
|
@ -491,6 +491,7 @@ int usb_desc_parse_config(const uint8_t* data, int len, USBDescDevice& dev)
|
|||
ep.bRefresh = d->u.endpoint.bRefresh;
|
||||
ep.bSynchAddress = d->u.endpoint.bSynchAddress;
|
||||
ep.extra = data + pos + d->bLength;
|
||||
pos += ep.extra[0];
|
||||
}
|
||||
iface->eps.push_back(ep);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue