[host] windows: fix delayExecution order of magnitude bug

This commit is contained in:
Geoffrey McRae 2021-07-17 15:02:58 +10:00
parent 74468cf799
commit d1ec19b30b

View File

@ -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);
} }