mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
libusb: increase timer before processing hotplug event
This commit is contained in:
parent
486b5c2abb
commit
ad616a5cdd
1 changed files with 1 additions and 1 deletions
|
@ -1033,7 +1033,7 @@ void handle_hotplug_event(bool connected)
|
|||
{
|
||||
if (auto usbh = g_fxo->try_get<named_thread<usb_handler_thread>>())
|
||||
{
|
||||
usbh->usb_hotplug_timeout = get_system_time() + (connected ? 500'000ull : 0);
|
||||
usbh->usb_hotplug_timeout = get_system_time() + (connected ? 1'000'000ull : 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue