[Scummvm-cvs-logs] CVS: scummvm/simon debug.cpp,1.28,1.29

Chris Apers chrilith at users.sourceforge.net
Mon Dec 15 07:18:15 CET 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv13860

Modified Files:
	debug.cpp 
Log Message:
No stat.h on PalmOS

Index: debug.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/debug.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- debug.cpp	11 Dec 2003 10:05:46 -0000	1.28
+++ debug.cpp	15 Dec 2003 15:17:06 -0000	1.29
@@ -353,7 +353,9 @@
 
 void SimonEngine::dump_single_bitmap(int file, int image, byte *offs, int w, int h, byte base) {
 	char buf[40];
+#ifndef __PALM_OS__
 	struct stat statbuf;
+#endif
 
 #if defined(MACOS_CARBON)
 	sprintf(buf, ":dumps:File%d_Image%d.bmp", file, image);
@@ -361,8 +363,10 @@
 	sprintf(buf, "dumps/File%d_Image%d.bmp", file, image);
 #endif
 
+#ifndef __PALM_OS__
 	if (stat(buf, &statbuf) == 0)
 		return;
+#endif
 
 	dump_bitmap(buf, offs, w, h, 0, _palette, base);
 }





More information about the Scummvm-git-logs mailing list