gsdx:tc: detect texture shuffle in previous frame

GoW2 uses the effect at the start of a new frame and therefore need the
state of the previous frame. (Note 1 issue remains)

Ricky need to be tested.
This commit is contained in:
Gregory Hainaut 2015-07-26 10:12:49 +02:00
parent 107a96c1bc
commit f2c77ffa08
1 changed files with 4 additions and 1 deletions

View File

@ -810,7 +810,10 @@ void GSTextureCache::IncAge()
// probability that game will do it on the current RT.
// Variable is cleared here to avoid issue with game that uses a 16 bits
// render target
t->m_32_bits_fmt = false;
if (t->m_age > 0) {
// GoW2 uses the effect at the start of the frame
t->m_32_bits_fmt = false;
}
if(++t->m_age > maxage)
{