mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Merge pull request #19375 from hrydgard/retro-buildfix
Replace call of SetWaitableTimerEx with SetWaitableTimer
This commit is contained in:
commit
52cf10274c
@ -283,7 +283,8 @@ void sleep_precise(double seconds) {
|
||||
break;
|
||||
LARGE_INTEGER due;
|
||||
due.QuadPart = -(sleepTicks > maxTicks ? maxTicks : sleepTicks);
|
||||
SetWaitableTimerEx(Timer, &due, 0, NULL, NULL, NULL, 0);
|
||||
// Note: SetWaitableTimerEx is not available on Vista.
|
||||
SetWaitableTimer(Timer, &due, 0, NULL, NULL, NULL);
|
||||
WaitForSingleObject(Timer, INFINITE);
|
||||
QueryPerformanceCounter(&qpc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user