From 1162236725ffadc08e03d0df947be7ec8bfb0e2d Mon Sep 17 00:00:00 2001 From: Sanjay Govind Date: Fri, 24 Jan 2025 10:29:38 +1300 Subject: [PATCH] Update rpcs3/Emu/Cell/lv2/sys_usbd.cpp Co-authored-by: Megamouse --- rpcs3/Emu/Cell/lv2/sys_usbd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_usbd.cpp b/rpcs3/Emu/Cell/lv2/sys_usbd.cpp index 71957a95c4..cf4a6f265d 100644 --- a/rpcs3/Emu/Cell/lv2/sys_usbd.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_usbd.cpp @@ -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