aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-07-24 04:09:14 +0000
committerTravis Howell2004-07-24 04:09:14 +0000
commit10ef09ec1f6892f39df99fc1cd811d9626bb4913 (patch)
tree69b0e2db096fe563e6cf9c3997133af31b985bdd /scumm
parente7997ab91d068787d482be833f0e2884c8a9b960 (diff)
downloadscummvm-rg350-10ef09ec1f6892f39df99fc1cd811d9626bb4913.tar.gz
scummvm-rg350-10ef09ec1f6892f39df99fc1cd811d9626bb4913.tar.bz2
scummvm-rg350-10ef09ec1f6892f39df99fc1cd811d9626bb4913.zip
Add another var used by Loom [ega].
svn-id: r14307
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scumm.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 69af6cdac1..18c01383e3 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1329,9 +1329,12 @@ void ScummEngine::initScummVars() {
VAR(VAR_SOUNDCARD) = 3;
}
VAR(VAR_VIDEOMODE) = 0x13;
- if ((_gameId == GID_LOOM && _features & GF_OLD_BUNDLE) || _version >= 4)
+ if (_gameId == GID_LOOM && _features & GF_OLD_BUNDLE) {
+ // Set number of sound resources
+ VAR(39) = 80;
+ VAR(VAR_HEAPSPACE) = 1400;
+ } else if (_version >= 4) {
VAR(VAR_HEAPSPACE) = 1400;
- if (_version >= 4) {
VAR(VAR_FIXEDDISK) = true;
if (_features & GF_HUMONGOUS) {
VAR(VAR_SOUNDPARAM) = 1; // soundblaster for music