mirror of
https://github.com/open-goal/jak-project
synced 2026-09-10 12:25:21 -04:00
windows sleep fix
This commit is contained in:
@@ -23,14 +23,13 @@ void sleep_us(u64 us) {
|
||||
}
|
||||
|
||||
#else
|
||||
#define NOMINMAX
|
||||
#include <Windows.h>
|
||||
|
||||
void sleep_us(u64 us) {
|
||||
Sleep(us);
|
||||
}
|
||||
|
||||
#define NOMINMAX
|
||||
#include <Windows.h>
|
||||
|
||||
FrameLimiter::FrameLimiter() {
|
||||
timeBeginPeriod(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user