[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.113,2.114
Max Horn
fingolfin at users.sourceforge.net
Wed Apr 30 03:29:11 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.22,2.23
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.69,2.70 script_v2.cpp,2.30,2.31 script_v5.cpp,1.55,1.56 scumm.h,1.172,1.173 vars.cpp,1.42,1.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv10878
Modified Files:
scummvm.cpp
Log Message:
changed _maxHeapThreshold again (is that better, Marcus? feel free to tweak it yourself)
Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.113
retrieving revision 2.114
diff -u -d -r2.113 -r2.114
--- scummvm.cpp 30 Apr 2003 05:48:55 -0000 2.113
+++ scummvm.cpp 30 Apr 2003 10:28:00 -0000 2.114
@@ -1812,7 +1812,12 @@
void Scumm::launch() {
gdi._vm = this;
- _maxHeapThreshold = 900000;
+ // 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;
+ else
+ _maxHeapThreshold = 450000;
_minHeapThreshold = 400000;
_verbRedraw = false;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.22,2.23
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.69,2.70 script_v2.cpp,2.30,2.31 script_v5.cpp,1.55,1.56 scumm.h,1.172,1.173 vars.cpp,1.42,1.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list