mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
The flip queue's condition variable went through winpthreads, whose timed waits end on GetTickCount64 steps: the present thread's 10 ms poll for SDL events and the pad, taken while no flip is queued, ended 11 to 24 ms later on Windows, and WaitForFlipRoom's 60 s bound had the same granularity. Use TimedWait::Condition, which waits on an event and a high-resolution timer, so the poll ends at 10 ms and a submitted flip still wakes the present thread at once. Co-Authored-By: Claude Fable 5.1 <[email protected]>