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();