Disable unconditional printfs in syborg_pointer.cpp to cur down the noise in debug logs graphics-phase-3
authorJon Medhurst
Wed, 27 Oct 2010 11:48:18 +0100
branchgraphics-phase-3
changeset 125 916c862ecaf1
parent 117 b7d35cad610d
child 130 b62870f3934d
Disable unconditional printfs in syborg_pointer.cpp to cur down the noise in debug logs
baseport/syborg/pointer/syborg_pointer.cpp
--- a/baseport/syborg/pointer/syborg_pointer.cpp	Fri Sep 24 13:44:00 2010 +0100
+++ b/baseport/syborg/pointer/syborg_pointer.cpp	Wed Oct 27 11:48:18 2010 +0100
@@ -108,14 +108,14 @@
 
   iScreenWidth  = videoInfo.iSizeInPixels.iWidth;
   iScreenHeight = videoInfo.iSizeInPixels.iHeight;
-  Kern::Printf("TPointerRv::Init3(): width: %d height: %d", iScreenWidth, iScreenHeight);
+  __DEBUG_PRINT("TPointerRv::Init3(): width: %d height: %d", iScreenWidth, iScreenHeight);
 
   iDisplayMode  = videoInfo.iDisplayMode;
 
 
   iVideoMem = videoInfo.iVideoAddress + videoInfo.iOffsetToFirstPixel;
   iOffSetBetweenEachLine = iScreenWidth;
-  Kern::Printf("TPointerRv::Init3(): iOffsetToFirstPixel: %d", iVideoMem);
+  __DEBUG_PRINT("TPointerRv::Init3(): iOffsetToFirstPixel: %d", iVideoMem);
 
   ix = iy = 0;
 
@@ -203,7 +203,7 @@
 TInt k=0;
 
 	TLinAddr activeFrameLin = ReadReg( KHwBaseClcd, 14 /*FB_VBASE*/ ); 
-	Kern::Printf("activeFrameLin: 0x%08x", activeFrameLin);
+	__DEBUG_PRINT("activeFrameLin: 0x%08x", activeFrameLin);
 	if( activeFrameLin == 0 )
 		{
 		return;