Update rpcs3/Emu/Cell/lv2/sys_usbd.cpp

Co-authored-by: Megamouse <studienricky89@googlemail.com>
This commit is contained in:
Sanjay Govind 2025-01-24 10:29:38 +13:00 committed by GitHub
parent 1640ffedfc
commit 1162236725
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -613,7 +613,7 @@ void usb_handler_thread::operator()()
// every 4 seconds.
// On systems where hotplug is native, we wait a little bit for devices to settle before we start the scan
perform_scan();
usb_hotplug_timeout = hotplug_supported ? UINT64_MAX : get_system_time() + 4'000'000ull;
usb_hotplug_timeout = hotplug_supported ? umax : get_system_time() + 4'000'000ull;
}
// Process asynchronous requests that are pending