diff options
author | Joost Peters | 2005-11-20 17:35:07 +0000 |
---|---|---|
committer | Joost Peters | 2005-11-20 17:35:07 +0000 |
commit | ff83c4146a35ee965fb9bc9d8b6af053c8699862 (patch) | |
tree | e355f3a2ea0840ac606d93301b84487c60cc701c | |
parent | 5274d89e410cac91c6698082614829f82356e7f0 (diff) | |
download | scummvm-rg350-ff83c4146a35ee965fb9bc9d8b6af053c8699862.tar.gz scummvm-rg350-ff83c4146a35ee965fb9bc9d8b6af053c8699862.tar.bz2 scummvm-rg350-ff83c4146a35ee965fb9bc9d8b6af053c8699862.zip |
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
-rw-r--r-- | scumm/scumm.cpp | 3 |
1 files changed, 0 insertions, 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; } |