From 10ef09ec1f6892f39df99fc1cd811d9626bb4913 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 24 Jul 2004 04:09:14 +0000 Subject: [PATCH] Add another var used by Loom [ega]. svn-id: r14307 --- scumm/scumm.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 69af6cdac13..18c01383e3a 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