[Scummvm-cvs-logs] CVS: scummvm/simon debug.cpp,1.25,1.26
Travis Howell
kirben at users.sourceforge.net
Thu Dec 11 01:30:03 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/simon debug.cpp,1.24,1.25 simon.cpp,1.361,1.362 simon.h,1.107,1.108 vga.cpp,1.94,1.95
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon debug.cpp,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv22777/simon
Modified Files:
debug.cpp
Log Message:
No need for buffers that large.
Index: debug.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/debug.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- debug.cpp 11 Dec 2003 09:14:10 -0000 1.25
+++ debug.cpp 11 Dec 2003 09:29:56 -0000 1.26
@@ -354,7 +354,7 @@
}
void SimonEngine::dump_single_bitmap(int file, int image, byte *offs, int w, int h, byte base) {
- char buf[255];
+ char buf[40];
struct stat statbuf;
#if defined(MACOS_CARBON)
@@ -403,12 +403,6 @@
pal_load(pal, vga1, 5, 3);
}
- {
- char buf[255], buf2[255];
- sprintf(buf, "bmp_%d", res);
- mkdir(buf2);
- }
-
int width, height, flags;
i = 538;
@@ -431,7 +425,7 @@
/* dump bitmap */
{
- char buf[255];
+ char buf[40];
#if defined(MACOS_CARBON)
sprintf(buf, ":dumps:Res%d_Image%d.bmp", res, i);
#else
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/simon debug.cpp,1.24,1.25 simon.cpp,1.361,1.362 simon.h,1.107,1.108 vga.cpp,1.94,1.95
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon debug.cpp,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list