mirror of https://github.com/PCSX2/pcsx2.git
gsdx: fix DoC black screen video
The game also set both depth and rt buffer at the same location but disable the depth test (ZTE is 0)
This commit is contained in:
parent
3debd3ae12
commit
4fcf460447
|
@ -338,8 +338,9 @@ void GSRendererHW::Draw()
|
|||
// be disabled.
|
||||
// 1/ GoW uses a Cd blending on a 24 bits buffer (no alpha)
|
||||
// 2/ SuperMan really draw the same value in both buffer...
|
||||
// Note: FF DoC has both buffer at same location but disable the depth test (write?) with ZTE = 0
|
||||
const bool no_rt = (context->ALPHA.IsCd() && PRIM->ABE && (context->FRAME.PSM == 1)) ||
|
||||
(context->FRAME.FBP == context->ZBUF.ZBP && !PRIM->TME && !context->ZBUF.ZMSK && !context->FRAME.FBMSK);
|
||||
(context->FRAME.FBP == context->ZBUF.ZBP && !PRIM->TME && !context->ZBUF.ZMSK && !context->FRAME.FBMSK && context->TEST.ZTE);
|
||||
|
||||
GIFRegTEX0 TEX0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue