gsdx hw: xman half screen correction

This commit is contained in:
Gregory Hainaut 2016-09-30 22:25:24 +02:00
parent 29c25bc375
commit 5d93a392e4
1 changed files with 3 additions and 3 deletions

View File

@ -891,9 +891,9 @@ void GSRendererHW::OI_DoubleHalfClear(GSTexture* rt, GSTexture* ds)
if (m_vt.m_eq.rgba != 0xFFFF || !m_vt.m_eq.z || v[1].XYZ.Z != v[1].RGBAQ.u32[0])
return;
// Format doesn't have the same size. It smells fishy
if (frame_psm.trbpp != depth_psm.trbpp)
return;
// Format doesn't have the same size. It smells fishy (xmen...)
//if (frame_psm.trbpp != depth_psm.trbpp)
// return;
// Size of the current draw
uint32 w_pages = roundf(m_vt.m_max.p.x / frame_psm.pgs.x);