[App] Actually set a high-performance timer
This commit is contained in:
parent
288af1c7e9
commit
6262dd2c3d
|
@ -78,7 +78,7 @@ static void RequestHighPerformance() {
|
|||
ULONG minimum_resolution, maximum_resolution, current_resolution;
|
||||
NtQueryTimerResolution(&minimum_resolution, &maximum_resolution,
|
||||
¤t_resolution);
|
||||
NtSetTimerResolution(minimum_resolution, TRUE, ¤t_resolution);
|
||||
NtSetTimerResolution(maximum_resolution, TRUE, ¤t_resolution);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue