Video_Software: Toggable zfreeze and early_z support for testing.

This commit is contained in:
NeoBrainX
2013-02-15 17:44:56 +01:00
parent 8923f0e13b
commit 183ad0c628
4 changed files with 18 additions and 6 deletions

View File

@ -125,7 +125,7 @@ inline void Draw(s32 x, s32 y, s32 xi, s32 yi)
if (z < 0 || z > 0x00ffffff)
return;
if (bpmem.zcontrol.early_ztest && bpmem.zmode.testenable)
if (bpmem.zcontrol.early_ztest && bpmem.zmode.testenable && g_SWVideoConfig.bZComploc)
{
// early z
if (!EfbInterface::ZCompare(x, y, z))