mirror of https://github.com/PCSX2/pcsx2.git
gsdx-tc: HasSharedBits uses PSM not address
Nice heap overflow. I'm surprised that it kinda worked.
This commit is contained in:
parent
6a38e1d06e
commit
5ba41306ea
|
@ -629,7 +629,7 @@ void GSTextureCache::InvalidateVideoMem(GSOffset* off, const GSVector4i& rect, b
|
|||
delete t;
|
||||
continue;
|
||||
}
|
||||
} else if (GSUtil::HasSharedBits(bp, t->m_TEX0.TBP0)) {
|
||||
} else if (bp == t->m_TEX0.TBP0) {
|
||||
// EE writes the ALPHA channel. Mark it as invalid for
|
||||
// the texture cache. Otherwise it will generate a wrong
|
||||
// hit on the texture cache.
|
||||
|
|
Loading…
Reference in New Issue