[App] Actually set a high-performance timer

This commit is contained in:
DrChat 2018-05-22 22:20:34 -05:00
parent 288af1c7e9
commit 6262dd2c3d
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ static void RequestHighPerformance() {
ULONG minimum_resolution, maximum_resolution, current_resolution;
NtQueryTimerResolution(&minimum_resolution, &maximum_resolution,
&current_resolution);
NtSetTimerResolution(minimum_resolution, TRUE, &current_resolution);
NtSetTimerResolution(maximum_resolution, TRUE, &current_resolution);
#endif
}