mirror of https://github.com/PCSX2/pcsx2.git
HW-TC: Keep old frames usable a bit longer.
The old value was a bit too violent on loading screens which didn't update very frequently (Mission Impossible), this new value works pretty well with both.
This commit is contained in:
parent
aa59547af7
commit
c6924ccaeb
|
@ -474,9 +474,10 @@ GSTextureCache::Target* GSTextureCache::LookupTarget(const GIFRegTEX0& TEX0, con
|
|||
// Only checks that the texure starts at the requested bp, size isn't considered.
|
||||
if (bp == t->m_TEX0.TBP0 && t->m_end_block >= bp)
|
||||
{
|
||||
// If the frame is older than 4 frames (to be safe) then it hasn't been updated for ages, so it's probably not a valid output frame.
|
||||
// If the frame is older than 30 frames (0.5 seconds) then it hasn't been updated for ages, so it's probably not a valid output frame.
|
||||
// The rest of the checks will get better equality, so suffer less from misdetection.
|
||||
if (t->m_age > 4)
|
||||
// Kind of arbitrary but it's low enough to not break Grandia Xtreme and high enough not to break Mission Impossible Operation Surma.
|
||||
if (t->m_age > 30)
|
||||
continue;
|
||||
|
||||
dst = t;
|
||||
|
|
Loading…
Reference in New Issue