mirror of https://github.com/PCSX2/pcsx2.git
GS/TextureCache: remove an unnecessary TBW check
This commit is contained in:
parent
ff58de2d8c
commit
03f7002711
|
@ -1072,7 +1072,7 @@ void GSTextureCache::InvalidateLocalMem(const GSOffset& off, const GSVector4i& r
|
|||
// Checking for targets that overlap with the requested memory region
|
||||
// instead of just comparing TBPs should fix that.
|
||||
// For example, this fixes Judgement ring rendering in Shadow Hearts 2.
|
||||
if (t->Overlaps(bp, bw, psm, r) && t->m_TEX0.TBP0 >= bp && t->m_TEX0.TBW == bw && GSUtil::HasSharedBits(psm, t->m_TEX0.PSM))
|
||||
if (t->Overlaps(bp, bw, psm, r) && t->m_TEX0.TBP0 >= bp && GSUtil::HasSharedBits(psm, t->m_TEX0.PSM))
|
||||
{
|
||||
// Enforce full invalidation if BP's don't match.
|
||||
const GSVector4i targetr = (bp == t->m_TEX0.TBP0) ? r : t->m_valid;
|
||||
|
|
Loading…
Reference in New Issue