Skip to content
Snippets Groups Projects
Commit d2eda12d authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix Win32 builds maybe?

parent e0ec4140
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2718 failed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment