diff --git a/src/arch/ArchHooks/ArchHooks_Win32Static.cpp b/src/arch/ArchHooks/ArchHooks_Win32Static.cpp index 6939764e5e..7794149594 100644 --- a/src/arch/ArchHooks/ArchHooks_Win32Static.cpp +++ b/src/arch/ArchHooks/ArchHooks_Win32Static.cpp @@ -35,6 +35,9 @@ static void InitTimer() g_bTimerInitialized = true; + // Set the thread scheduler to let us update every 1ms. + timeBeginPeriod(1); + // Retrieve the number of ticks per second. QueryPerformanceFrequency(&g_liFrequency); }