mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 05:50:29 +02:00
More misc cleanup
This commit is contained in:
1 parent
8ed898c5e6
commit
4e0b6ac3ec
7 files changed
+39
-22
No files matched your search
+4
-1
@@ -289,7 +289,10 @@ void sleep_precise(double seconds) {
|
||||
LARGE_INTEGER due;
|
||||
due.QuadPart = -(sleepTicks > maxTicks ? maxTicks : sleepTicks);
|
||||
// Note: SetWaitableTimerEx is not available on Vista.
|
||||
SetWaitableTimer(Timer, &due, 0, NULL, NULL, FALSE);
|
||||
if (!SetWaitableTimer(Timer, &due, 0, NULL, NULL, FALSE)) {
|
||||
_dbg_assert_(false);
|
||||
break;
|
||||
}
|
||||
WaitForSingleObject(Timer, INFINITE);
|
||||
QueryPerformanceCounter(&qpc);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user