mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Add more accurate sleep function (well, not more accurate on Windows unfortunately)
This commit is contained in:
1 parent
29032f4a70
commit
7cc4a0f3a3
6 files changed
+37
-15
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user