[Scummvm-cvs-logs] CVS: scummvm/sword1 resman.h,1.16.2.1,1.16.2.2

Joost Peters joostp at users.sourceforge.net
Tue Dec 27 11:59:02 CET 2005


Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29673/sword1

Modified Files:
      Tag: branch-0-8-0
	resman.h 
Log Message:
backport fixes for bug #1276592 and update NEWS


Index: resman.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/resman.h,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -u -d -r1.16.2.1 -r1.16.2.2
--- resman.h	18 Oct 2005 02:11:27 -0000	1.16.2.1
+++ resman.h	27 Dec 2005 19:58:16 -0000	1.16.2.2
@@ -29,7 +29,14 @@
 namespace Sword1 {
 
 #define MAX_LABEL_SIZE (31+1)
+
+#if defined(__PSP__)
+#define MAX_OPEN_CLUS 4 // the PSP can't have more than 8 files open simultaneously
+			// since we also need filehandles for music and sometimes savegames
+			// set the maximum number of open clusters to 4.
+#else
 #define MAX_OPEN_CLUS 8	// don't open more than 8 files at once
+#endif
 
 struct Grp {
 	uint32 noRes;





More information about the Scummvm-git-logs mailing list