diff options
author | Max Horn | 2003-04-30 10:28:00 +0000 |
---|---|---|
committer | Max Horn | 2003-04-30 10:28:00 +0000 |
commit | d43b6d0cc01669f37651f3a23ae0859ec816ba82 (patch) | |
tree | 1bd005b8bcf1d63584b3d6a0e7a93c2e855e774b | |
parent | e042792bb9731a26fd0862a29de12d35edd48fdb (diff) | |
download | scummvm-rg350-d43b6d0cc01669f37651f3a23ae0859ec816ba82.tar.gz scummvm-rg350-d43b6d0cc01669f37651f3a23ae0859ec816ba82.tar.bz2 scummvm-rg350-d43b6d0cc01669f37651f3a23ae0859ec816ba82.zip |
changed _maxHeapThreshold again (is that better, Marcus? feel free to tweak it yourself)
svn-id: r7214
-rw-r--r-- | scumm/scummvm.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 32844a0d01..3287a87b06 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -1812,7 +1812,12 @@ void Scumm::mainRun() { 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; |