add workaround for game speed limiter problem with bnet

This commit is contained in:
FunkyFr3sh 2019-08-09 10:10:37 +02:00
parent 243c203f37
commit 073dac298f

View file

@ -1049,8 +1049,12 @@ HRESULT __stdcall ddraw_surface_Unlock(IDirectDrawSurfaceImpl *This, LPVOID lpRe
if (erase)
{
BOOL x = ddraw->ticksLimiter.useBltOrFlip;
DDBLTFX fx = { .dwFillColor = 0xFE };
IDirectDrawSurface_Blt(This, NULL, NULL, NULL, DDBLT_COLORFILL, &fx);
ddraw->ticksLimiter.useBltOrFlip = x;
}
}