mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 06:47:19 +00:00
[host] windows: fix delayExecution order of magnitude bug
This commit is contained in:
parent
74468cf799
commit
d1ec19b30b
@ -44,6 +44,6 @@ void delayInit(void)
|
|||||||
|
|
||||||
void delayExecution(float ms)
|
void delayExecution(float ms)
|
||||||
{
|
{
|
||||||
LARGE_INTEGER interval = { .QuadPart = -1 * (int)(ms * 1000.0f) };
|
LARGE_INTEGER interval = { .QuadPart = -1 * (int)(ms * 10000.0f) };
|
||||||
NtDelayExecution(FALSE, &interval);
|
NtDelayExecution(FALSE, &interval);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user