mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +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
|
|
@ -501,7 +501,7 @@ namespace rsx
|
|||
#ifdef __linux__
|
||||
constexpr u32 host_min_quantum = 50;
|
||||
#else
|
||||
constexpr u32 host_min_quantum = 500;
|
||||
constexpr u32 host_min_quantum = 1000;
|
||||
#endif
|
||||
u64 start_time = get_system_time();
|
||||
|
||||
|
|
@ -2543,7 +2543,7 @@ namespace rsx
|
|||
#else
|
||||
// Host scheduler quantum for windows (worst case)
|
||||
// NOTE: On ps3 this function has very high accuracy
|
||||
constexpr u64 host_min_quantum = 500;
|
||||
constexpr u64 host_min_quantum = 1000;
|
||||
#endif
|
||||
if (remaining >= host_min_quantum)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue