1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

fix return DD_OK on WaitForVerticalBlank

This commit is contained in:
FunkyFr3sh 2020-10-05 19:59:57 +02:00
parent 7a7b419866
commit c41f4566cd

View File

@ -1778,7 +1778,7 @@ HRESULT __stdcall ddraw_WaitForVerticalBlank(IDirectDrawImpl *This, DWORD dwFlag
if (!nextGameTick) if (!nextGameTick)
{ {
nextGameTick = timeGetTime(); nextGameTick = timeGetTime();
return; return DD_OK;
} }
nextGameTick += ddraw->flipLimiter.ticklength; nextGameTick += ddraw->flipLimiter.ticklength;
DWORD tickCount = timeGetTime(); DWORD tickCount = timeGetTime();