mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-27 00:10:31 +00:00
windows sleep fix
This commit is contained in:
parent
e1211aebc3
commit
c658a14d94
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user