GS/TextureCache: Add a CRC hack in InvalidateVideoMemType for Getaway games

This commit is contained in:
Silent 2022-11-09 22:15:15 +01:00 committed by refractionpcsx2
parent 79c79b06ca
commit c69c7ce59c
1 changed files with 4 additions and 0 deletions

View File

@ -708,6 +708,10 @@ void GSTextureCache::InvalidateVideoMemType(int type, u32 bp)
if (GSConfig.UserHacks_DisableDepthSupport)
return;
// The Getaway games need this function disabled for player shadows to work correctly.
if (g_gs_renderer->m_game.title == CRC::GetawayGames)
return;
auto& list = m_dst[type];
for (auto i = list.begin(); i != list.end(); ++i)
{