1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

Update sys_usbd.cpp

This commit is contained in:
brian218 2023-06-05 23:55:13 +08:00 committed by Megamouse
parent e75c0dbaa1
commit 48ffc19193

View File

@ -524,7 +524,7 @@ void usb_handler_thread::transfer_complete(struct libusb_transfer* transfer)
bool usb_handler_thread::add_ldd(std::string_view product, u16 id_vendor, u16 id_product_min, u16 id_product_max)
{
if (ldds.try_emplace(std::string(product), id_vendor, id_product_min, id_product_max).second)
if (ldds.try_emplace(std::string(product), UsbLdd{id_vendor, id_product_min, id_product_max}).second)
{
for (const auto& dev : usb_devices)
{