GS: Flush PRIM on write if pending PRIM draw had TME

This commit is contained in:
refractionpcsx2 2022-04-08 11:46:09 +01:00
parent 29964c3f26
commit 86fb8e5809
1 changed files with 1 additions and 1 deletions

View File

@ -1722,7 +1722,7 @@ void GSState::Write(const u8* mem, int len)
m_env.TRXPOS.DIRX, m_env.TRXPOS.DIRY,
m_env.TRXPOS.DSAX, m_env.TRXPOS.DSAY, w, h);
if (PRIM->TME && (blit.DBP == m_context->TEX0.TBP0 || blit.DBP == m_context->TEX0.CBP)) // TODO: hmmmm
if ((PRIM->TME || (m_primflush && m_last_prim.TME)) && (blit.DBP == m_context->TEX0.TBP0 || blit.DBP == m_context->TEX0.CBP)) // TODO: hmmmm
FlushPrim();
if (m_tr.end == 0 && len >= m_tr.total)