mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
add workaround for CnCGraphicsPatcher
This commit is contained in:
parent
da6e2068bc
commit
1d6ac452a9
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user