GS/HW: Ensure tex shuffles, masking are render target draws.

Fixes Castlevania Curse of Darkness crashing.
This commit is contained in:
lightningterror 2024-04-14 18:49:28 +02:00
parent 79a882d18b
commit b94a232b31
1 changed files with 2 additions and 1 deletions

View File

@ -5233,7 +5233,8 @@ __ri void GSRendererHW::DrawPrims(GSTextureCache::Target* rt, GSTextureCache::Ta
m_prim_overlap = PrimitiveOverlap();
EmulateTextureShuffleAndFbmask(rt, tex);
if (rt)
EmulateTextureShuffleAndFbmask(rt, tex);
const GSDevice::FeatureSupport features = g_gs_device->Features();