Skip to content

Commit

Permalink
gsdx: GoW2 half screen bug
Browse files Browse the repository at this point in the history
... Seriously ...
  • Loading branch information
gregory38 committed Sep 30, 2016
1 parent fc32b74 commit 8d24aa2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/GSdx/GSRendererHW.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 8d24aa2

Please sign in to comment.