add workaround for CnCGraphicsPatcher

This commit is contained in:
FunkyFr3sh 2023-08-05 19:03:34 +02:00
parent da6e2068bc
commit 1d6ac452a9

View file

@ -1360,7 +1360,7 @@ HRESULT dd_CreateSurface(
}
else
{
if (!(dst_surface->caps & DDSCAPS_SYSTEMMEMORY))
if (!(dst_surface->caps & DDSCAPS_SYSTEMMEMORY) || g_ddraw->tshack)
{
dst_surface->caps |= DDSCAPS_VIDEOMEMORY;
}