mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-25 08:32:48 -06:00
NWM_UDS: change SleepClientThread to use std::chrono::nanoseconds
This commit is contained in:
parent
853a79c94c
commit
dfc22661a4
1 changed files with 2 additions and 2 deletions
|
@ -1061,7 +1061,7 @@ void NWM_UDS::ConnectToNetwork(Kernel::HLERequestContext& ctx) {
|
|||
|
||||
// 300 ms
|
||||
// Since this timing is handled by core_timing it could differ from the 'real world' time
|
||||
static constexpr u64 UDSConnectionTimeout = 300000000;
|
||||
static constexpr std::chrono::nanoseconds UDSConnectionTimeout{300000000};
|
||||
|
||||
connection_event = ctx.SleepClientThread(
|
||||
Kernel::GetCurrentThread(), "uds::ConnectToNetwork", UDSConnectionTimeout,
|
||||
|
|
Loading…
Reference in a new issue