mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
libusb: support hotplug
This commit is contained in:
parent
34021121c2
commit
6589f0eb20
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 ? 500'000ull : 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue