Add another var used by Loom [ega].

svn-id: r14307
This commit is contained in:
Travis Howell 2004-07-24 04:09:14 +00:00
parent e7997ab91d
commit 10ef09ec1f

View File

@ -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