mirror of https://github.com/PCSX2/pcsx2.git
GS/TextureCache: Check PSM matches before expanding target
Mercenaries is doing a 128x4095 write in PSMT4, which when upscaling, goes beyond the limits of most GPUs.
This commit is contained in:
parent
a718a785b3
commit
e449ad7472
|
@ -781,7 +781,7 @@ void GSTextureCache::ExpandTarget(const GIFRegBITBLTBUF& BITBLTBUF, const GSVect
|
|||
{
|
||||
Target* t = *i;
|
||||
|
||||
if (TEX0.TBP0 == t->m_TEX0.TBP0 && t->Overlaps(TEX0.TBP0, TEX0.TBW, TEX0.PSM, r))
|
||||
if (TEX0.TBP0 == t->m_TEX0.TBP0 && TEX0.PSM == t->m_TEX0.PSM && t->Overlaps(TEX0.TBP0, TEX0.TBW, TEX0.PSM, r))
|
||||
{
|
||||
list.MoveFront(i.Index());
|
||||
|
||||
|
|
Loading…
Reference in New Issue