removed printf's spewing out tons of debug messages

svn-id: r25217
This commit is contained in:
Nicola Mettifogo 2007-01-27 00:20:41 +00:00
parent 8205cd9d3d
commit c77ac3380a

View File

@ -352,7 +352,7 @@ void Graphics::floodFill(byte color, uint16 left, uint16 top, uint16 right, uint
void Graphics::flatBlit(uint16 w, uint16 h, int16 x, int16 y, byte *data, Graphics::Buffers buffer) {
printf("Graphics::flatBlit(%i, %i, %i, %i)\n", w, h, x, y);
// printf("Graphics::flatBlit(%i, %i, %i, %i)\n", w, h, x, y);
// source coordinates
int16 left = 0, top = 0;
@ -376,7 +376,7 @@ void Graphics::flatBlit(uint16 w, uint16 h, int16 x, int16 y, byte *data, Graphi
byte *s = data + left + top * w;
byte *d = _buffers[buffer] + x + y * SCREEN_WIDTH;
printf("Graphics::flatBlit CLIPPED (%i, %i, %i, %i) -> (%i, %i) %x %x\n", left, top, right, bottom, x, y, (uint32)s, (uint32)d);
// printf("Graphics::flatBlit CLIPPED (%i, %i, %i, %i) -> (%i, %i) %x %x\n", left, top, right, bottom, x, y, (uint32)s, (uint32)d);
for (uint16 i = top; i < bottom; i++) {
for (uint16 j = left; j < right; j++) {
@ -389,11 +389,11 @@ void Graphics::flatBlit(uint16 w, uint16 h, int16 x, int16 y, byte *data, Graphi
d += (SCREEN_WIDTH - right + left);
}
printf("Graphics::flatBlit BLITTED\n");
// printf("Graphics::flatBlit BLITTED\n");
if (buffer == kBitFront) updateScreen();
printf("Graphics::flatBlit DONE\n");
// printf("Graphics::flatBlit DONE\n");
return;