mirror of https://github.com/PCSX2/pcsx2.git
zzogl-pg: Fix compilation in Debug mode.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4086 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
fe5212696d
commit
f68eb19543
|
@ -455,12 +455,12 @@ inline bool FlushInitialTest(VB& curvb, const pixTest& curtest, int context)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void TargetLog(int& tbw, int& tbp0, int& tpsm, VB& curvb)
|
inline void TargetLog(int& tbw, int& tbp0, int& tpsm, VB& curvb, bool miss)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
if (tbp0 == 0x3600 && tbw == 0x100)
|
if (tbp0 == 0x3600 && tbw == 0x100)
|
||||||
{
|
{
|
||||||
if (ptextarg == NULL)
|
if (miss)
|
||||||
{
|
{
|
||||||
ZZLog::Debug_Log("Miss %x 0x%x %d", tbw, tbp0, tpsm);
|
ZZLog::Debug_Log("Miss %x 0x%x %d", tbw, tbp0, tpsm);
|
||||||
|
|
||||||
|
@ -531,7 +531,7 @@ inline CRenderTarget* FlushReGetTarget(int& tbw, int& tbp0, int& tpsm, VB& curvb
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TargetLog(tbw, tbp0, tpsm, curvb);
|
TargetLog(tbw, tbp0, tpsm, curvb, (ptextarg == NULL));
|
||||||
|
|
||||||
return ptextarg;
|
return ptextarg;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue