Commit d2eda12d authored by Deucе's avatar Deucе 👌🏾
Browse files

Fix Win32 builds maybe?

parent e0ec4140
Pipeline #2718 failed with stage
in 4 minutes and 27 seconds
......@@ -844,9 +844,8 @@ uint64_t xp_timer64(void)
#elif defined(_WIN32)
LARGE_INTEGER freq;
LARGE_INTEGER tick;
if (
if(QueryPerformanceFrequency(&freq) && QueryPerformanceCounter(&tick)) {
static BOOL intable = (freq % 1000) == 0;
static BOOL intable = (freq % 1000) == 0;
if (intable)
ret = tick.QuadPart / (freq.QuadPart / 1000);
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment