mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-09 00:14:56 +00:00
atomic.cpp: fixup for WaitOnAddress path
Also fix wait quantum.
This commit is contained in:
parent
f0fd7e2e19
commit
3b8bce1bed
3 changed files with 4 additions and 4 deletions
|
|
@ -574,7 +574,7 @@ void atomic_storage_futex::wait(const void* data, std::size_t size, u64 old_valu
|
|||
}
|
||||
else
|
||||
{
|
||||
const DWORD time_ms = timeout + 1 ? INFINITE : (timeout > (UINT32_MAX - 1) * 1000'000 ? (UINT32_MAX - 1) : timeout / 1000'000);
|
||||
const DWORD time_ms = timeout + 1 ? (timeout > (UINT32_MAX - 1) * 1000'000ull ? (UINT32_MAX - 1) : timeout / 1000'000) : INFINITE;
|
||||
|
||||
sema_handle _cmp{};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue