From f68eb19543542e610b04a26c063341784721e88a Mon Sep 17 00:00:00 2001 From: arcum42 Date: Sun, 12 Dec 2010 00:33:10 +0000 Subject: [PATCH] zzogl-pg: Fix compilation in Debug mode. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4086 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/zzogl-pg/opengl/ZZoglFlush.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/zzogl-pg/opengl/ZZoglFlush.cpp b/plugins/zzogl-pg/opengl/ZZoglFlush.cpp index 935d0240e5..731f0fcadc 100644 --- a/plugins/zzogl-pg/opengl/ZZoglFlush.cpp +++ b/plugins/zzogl-pg/opengl/ZZoglFlush.cpp @@ -455,12 +455,12 @@ inline bool FlushInitialTest(VB& curvb, const pixTest& curtest, int context) 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 if (tbp0 == 0x3600 && tbw == 0x100) { - if (ptextarg == NULL) + if (miss) { 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; }