From c41f4566cd567ea7e5b3e5e34138adbfbe5af24a Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Mon, 5 Oct 2020 19:59:57 +0200 Subject: [PATCH] fix return DD_OK on WaitForVerticalBlank --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index a40c00c..3a19d93 100644 --- a/src/main.c +++ b/src/main.c @@ -1778,7 +1778,7 @@ HRESULT __stdcall ddraw_WaitForVerticalBlank(IDirectDrawImpl *This, DWORD dwFlag if (!nextGameTick) { nextGameTick = timeGetTime(); - return; + return DD_OK; } nextGameTick += ddraw->flipLimiter.ticklength; DWORD tickCount = timeGetTime();