[Scummvm-cvs-logs] SF.net SVN: scummvm:[41134] scummvm/trunk/engines/scumm/scumm.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Wed Jun 3 08:34:40 CEST 2009
Revision: 41134
http://scummvm.svn.sourceforge.net/scummvm/?rev=41134&view=rev
Author: Kirben
Date: 2009-06-03 06:34:39 +0000 (Wed, 03 Jun 2009)
Log Message:
-----------
Increase maxHeapThreshold for 16bit color HE games, due to larger resource sizes been used.
Modified Paths:
--------------
scummvm/trunk/engines/scumm/scumm.cpp
Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp 2009-06-03 06:24:27 UTC (rev 41133)
+++ scummvm/trunk/engines/scumm/scumm.cpp 2009-06-03 06:34:39 UTC (rev 41134)
@@ -1181,7 +1181,10 @@
int maxHeapThreshold = -1;
- if (_game.features & GF_NEW_COSTUMES) {
+ if (_game.features & GF_16BIT_COLOR) {
+ // 16Bit color games require double the memory, due to increased resource sizes.
+ maxHeapThreshold = 12 * 1024 * 1024;
+ } else if (_game.features & GF_NEW_COSTUMES) {
// Since the new costumes are very big, we increase the heap limit, to avoid having
// to constantly reload stuff from the data files.
maxHeapThreshold = 6 * 1024 * 1024;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list