mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 10:40:39 +01:00
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:
1 parent
3debd3ae12
commit
4fcf460447
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user