diff --git a/console/rgl/ps3/cg.h b/console/rgl/ps3/cg.h index 1521ab2c2d..75c75c9a5d 100644 --- a/console/rgl/ps3/cg.h +++ b/console/rgl/ps3/cg.h @@ -352,7 +352,7 @@ inline static CGresource _RGLGetBaseResource( CGresource resource ) case CG_UNDEFINED: return CG_UNDEFINED; default: - printf("RGL WARN: resource 0x%d is unknown here.\n", resource ); + RARCH_WARN("Resource 0x%d is unknown here.\n", resource ); return CG_UNDEFINED; } } diff --git a/console/rgl/ps3/device_ctx.cpp b/console/rgl/ps3/device_ctx.cpp index b7144f08f5..887d331f3c 100644 --- a/console/rgl/ps3/device_ctx.cpp +++ b/console/rgl/ps3/device_ctx.cpp @@ -115,11 +115,10 @@ static const int sysutilModeCount = sizeof( sysutilModes ) / sizeof( sysutilMode static inline void _RGLPrintIt( unsigned int v ) { - printf( "%02x %02x %02x %02x : ", ( v >> 24 )&0xff, ( v >> 16 )&0xff, ( v >> 8 )&0xff, v&0xff ); + RARCH_LOG( "%02x %02x %02x %02x : \n", ( v >> 24 )&0xff, ( v >> 16 )&0xff, ( v >> 8 )&0xff, v&0xff ); for ( unsigned int mask = ( 0x1 << 31 ), i = 1; mask != 0; mask >>= 1, i++ ) - printf("%d%s", ( v & mask ) ? 1 : 0, ( i % 8 == 0 ) ? " " : ""); - printf( "\n" ); + RARCH_LOG("%d%s\n", ( v & mask ) ? 1 : 0, ( i % 8 == 0 ) ? " " : ""); } static inline void _RGLPrintFifoFromPut(unsigned int numWords) diff --git a/console/rgl/ps3/rgl.cpp b/console/rgl/ps3/rgl.cpp index 04291de004..a6d97b49c2 100644 --- a/console/rgl/ps3/rgl.cpp +++ b/console/rgl/ps3/rgl.cpp @@ -4390,7 +4390,7 @@ static void _RGLPlatformValidateTextureStage( int unit, jsTexture* texture ) } else { - //printf("RGL WARN: Texture bound to unit %d is incomplete.\n", unit); + //RARCH_WARN("Texture bound to unit %d is incomplete.\n", unit); GLuint remap = CELL_GCM_REMAP_MODE( CELL_GCM_TEXTURE_REMAP_ORDER_XYXY, CELL_GCM_TEXTURE_REMAP_FROM_A,