gsdx: GoW2 half screen bug

... Seriously ...
This commit is contained in:
Gregory Hainaut 2016-09-30 19:15:25 +02:00
parent fc32b749dd
commit 8d24aa2b39
1 changed files with 2 additions and 1 deletions

View File

@ -660,7 +660,8 @@ void GSRendererHW::Draw()
if (!m_userhacks_disable_gs_mem_clear) {
// Constant Direct Write without texture/test/blending (aka a GS mem clear)
if ((m_vt.m_primclass == GS_SPRITE_CLASS) && !PRIM->TME && !PRIM->ABE // Direct write
if ((m_vt.m_primclass == GS_SPRITE_CLASS) && !PRIM->TME // Direct write
&& (!PRIM->ABE || m_context->ALPHA.IsOpaque()) // No transparency
&& (m_context->FRAME.FBMSK == 0) // no color mask
&& !m_context->TEST.ATE // no alpha test
&& (!m_context->TEST.ZTE || m_context->TEST.ZTST == ZTST_ALWAYS) // no depth test