Add more accurate sleep function (well, not more accurate on Windows unfortunately)

This commit is contained in:
Henrik Rydgård committed 2025-10-21 12:11:23 +02:00
1 parent 29032f4a70
commit 7cc4a0f3a3
6 files changed
+37 -15

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ FrameTiming g_frameTiming;
void WaitUntil(double now, double timestamp, const char *reason) {
#if 1
// Use precise timing.
sleep_precise(timestamp - now);
sleep_precise(timestamp - now, reason);
#else
#if PPSSPP_PLATFORM(WINDOWS)