mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-02 06:53:39 +00:00
(RGL PS3) Change some printfs to RARCH_LOG/RARCH_WARN
This commit is contained in:
parent
939b9dd259
commit
95079a5cee
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user