From ff83c4146a35ee965fb9bc9d8b6af053c8699862 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Sun, 20 Nov 2005 17:35:07 +0000 Subject: Increase maxHeapThreshold to 6M for SCUMM games with the GF_NEW_COSTUMES feature, the old value of 2.5M was too small to contain all resources for certain scenes in The Dig and COMI. svn-id: r19679 --- scumm/scumm.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index bd1c96c138..f2fabe4bea 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -1755,10 +1755,7 @@ int ScummEngine::init(GameDetector &detector) { } else if (_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. - res._maxHeapThreshold = 2500000; -#ifdef __PLAYSTATION2__ res._maxHeapThreshold = 6 * 1024 * 1024; -#endif } else { res._maxHeapThreshold = 550000; } -- cgit v1.2.3