From d1ec19b30b5767d7a9a1a51106f1b5d4ce5eba47 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 17 Jul 2021 15:02:58 +1000 Subject: [PATCH] [host] windows: fix delayExecution order of magnitude bug --- host/platform/Windows/src/delay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/platform/Windows/src/delay.c b/host/platform/Windows/src/delay.c index a36db371..c8e91d2f 100644 --- a/host/platform/Windows/src/delay.c +++ b/host/platform/Windows/src/delay.c @@ -44,6 +44,6 @@ void delayInit(void) 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); }