diff options
author | Travis Howell | 2004-07-24 02:18:05 +0000 |
---|---|---|
committer | Travis Howell | 2004-07-24 02:18:05 +0000 |
commit | e7997ab91d068787d482be833f0e2884c8a9b960 (patch) | |
tree | 11e8a2714b076e4cbcaf3dc73ccc437e2cb53ae6 | |
parent | 0afb8635cb58e919748e411b00d2ba54f4901a82 (diff) | |
download | scummvm-rg350-e7997ab91d068787d482be833f0e2884c8a9b960.tar.gz scummvm-rg350-e7997ab91d068787d482be833f0e2884c8a9b960.tar.bz2 scummvm-rg350-e7997ab91d068787d482be833f0e2884c8a9b960.zip |
heap space is used by loom too.
svn-id: r14306
-rw-r--r-- | scumm/scumm.cpp | 3 | ||||
-rw-r--r-- | scumm/vars.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 956ce94a1d..69af6cdac1 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -1329,8 +1329,9 @@ void ScummEngine::initScummVars() { VAR(VAR_SOUNDCARD) = 3; } VAR(VAR_VIDEOMODE) = 0x13; - if (_version >= 4) { + if ((_gameId == GID_LOOM && _features & GF_OLD_BUNDLE) || _version >= 4) VAR(VAR_HEAPSPACE) = 1400; + if (_version >= 4) { VAR(VAR_FIXEDDISK) = true; if (_features & GF_HUMONGOUS) { VAR(VAR_SOUNDPARAM) = 1; // soundblaster for music diff --git a/scumm/vars.cpp b/scumm/vars.cpp index 3c09042909..418223f143 100644 --- a/scumm/vars.cpp +++ b/scumm/vars.cpp @@ -65,6 +65,7 @@ void ScummEngine::setupScummVars() { VAR_CUTSCENE_END_SCRIPT = 36; VAR_CHARINC = 37; VAR_WALKTO_OBJ = 38; + VAR_HEAPSPACE = 40; VAR_RESTART_KEY = 42; VAR_PAUSE_KEY = 43; VAR_MOUSE_X = 44; @@ -77,7 +78,6 @@ void ScummEngine::setupScummVars() { if (_version >= 4) { VAR_SCROLL_SCRIPT = 27; VAR_DEBUGMODE = 39; - VAR_HEAPSPACE = 40; VAR_MAINMENU_KEY = 50; VAR_FIXEDDISK = 51; VAR_CURSORSTATE = 52; |