[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.125,2.126

Marcus Comstedt marcus_c at users.sourceforge.net
Sun May 4 07:06:56 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv26866a

Modified Files:
	scummvm.cpp 
Log Message:
Even more heap needed by later games...

Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.125
retrieving revision 2.126
diff -u -d -r2.125 -r2.126
--- scummvm.cpp	4 May 2003 02:39:31 -0000	2.125
+++ scummvm.cpp	4 May 2003 13:59:08 -0000	2.126
@@ -2038,14 +2038,14 @@
 #ifdef __PALM_OS__
 	// PALMOS : check if this value is correct with palm,
 	// old value 450000 doesn't work anymore (return _fntPtr = NULL in zak256, not tested with others)
-	// 1500000 is too big and make ScummVM crashes : MemMove to NULL or immediate exit if try to allocate
+	// 2500000 is too big and make ScummVM crashes : MemMove to NULL or immediate exit if try to allocate
 	// memory with new operator
 	_maxHeapThreshold = 550000;
 #else
 	// Since the new costumes are very big, we increase the heap limit, to avoid having
 	// to constantly reload stuff from the data files.
 	if (_features & GF_NEW_COSTUMES)
-		_maxHeapThreshold = 1500000;
+		_maxHeapThreshold = 2500000;
 	else
 		_maxHeapThreshold = 550000;
 #endif





More information about the Scummvm-git-logs mailing list