gs: test for th for tex0 flush

previous code didn't test TH which was a problem for vampire nights because they upload a c16 texture to the same address but with a different height
This commit is contained in:
kojin 2021-09-22 13:28:00 -04:00 committed by Kojin
parent d73bf834b3
commit 1a29a6da1d
1 changed files with 1 additions and 1 deletions

View File

@ -908,7 +908,7 @@ void GSState::ApplyTEX0(GIFRegTEX0& TEX0)
// clut loading already covered with WriteTest, for drawing only have to check CPSM and CSA (MGS3 intro skybox would be drawn piece by piece without this)
uint64 mask = 0x1f78001c3fffffffull; // TBP0 TBW PSM TW TCC TFX CPSM CSA
uint64 mask = 0x1f78001fffffffffull; // TBP0 TBW PSM TW TH TCC TFX CPSM CSA
if (wt || PRIM->CTXT == i && ((TEX0.u64 ^ m_env.CTXT[i].TEX0.u64) & mask))
{