mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
add workaround for CnCGraphicsPatcher
This commit is contained in:
parent
da6e2068bc
commit
1d6ac452a9
@ -1360,7 +1360,7 @@ HRESULT dd_CreateSurface(
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!(dst_surface->caps & DDSCAPS_SYSTEMMEMORY))
|
if (!(dst_surface->caps & DDSCAPS_SYSTEMMEMORY) || g_ddraw->tshack)
|
||||||
{
|
{
|
||||||
dst_surface->caps |= DDSCAPS_VIDEOMEMORY;
|
dst_surface->caps |= DDSCAPS_VIDEOMEMORY;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user