Skip to content

Commit

Permalink
winapi: Follow XDK with QueryPerformanceFrequency by hardcoding 733MHz
Browse files Browse the repository at this point in the history
  • Loading branch information
GXTX committed Oct 16, 2023
1 parent ab3a9f5 commit 64f6505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/winapi/profiling.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ BOOL QueryPerformanceFrequency (LARGE_INTEGER *lpFrequency)
{
assert(lpFrequency != NULL);

lpFrequency->QuadPart = KeQueryPerformanceFrequency();
lpFrequency->QuadPart = 733333333;
return TRUE;
}

0 comments on commit 64f6505

Please sign in to comment.