mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-07 08:39:28 +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>>())
|
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
Add a link
Reference in a new issue