Skip to content

Commit

Permalink
GS/HW: Ensure tex shuffles, masking are render target draws.
Browse files Browse the repository at this point in the history
Fixes Castlevania Curse of Darkness crashing.
  • Loading branch information
lightningterror committed Apr 16, 2024
1 parent 79a882d commit b94a232
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pcsx2/GS/Renderers/HW/GSRendererHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit b94a232

Please sign in to comment.