Update ArchHooks_Win32Static.cpp

Thanks to evbo from the ITC discord for pointing out this improvement.  It does take bring the thread polling interval down from every 10ms to every 1ms.
This commit is contained in:
sukibaby
2025-04-19 13:36:24 -07:00
committed by teejusb
parent ed5c87a10d
commit 774af7bd19
@@ -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);
}