diff options
author | Travis Howell | 2005-04-24 10:26:31 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-24 10:26:31 +0000 |
commit | 29532320c198241d598206e182bc5cfa4c271424 (patch) | |
tree | c43e381a5d9794f2d8e7f42421631dceb785c5d1 | |
parent | 637e86e5b4888e3c6ba6256c74900deac6c5313c (diff) | |
download | scummvm-rg350-29532320c198241d598206e182bc5cfa4c271424.tar.gz scummvm-rg350-29532320c198241d598206e182bc5cfa4c271424.tar.bz2 scummvm-rg350-29532320c198241d598206e182bc5cfa4c271424.zip |
Corection a few more heversion checks, caused music regression.
svn-id: r17785
-rw-r--r-- | scumm/scumm.cpp | 6 | ||||
-rw-r--r-- | scumm/sound.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 4ef1d024a3..1ff99b974a 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -1751,7 +1751,7 @@ void ScummEngine::setupMusic(int midi) { _musicEngine = new Player_V2(this, _midiDriver != MD_PCSPK);; } else if (((_midiDriver == MD_PCJR) || (_midiDriver == MD_PCSPK)) && ((_version > 2) && (_version < 5))) { _musicEngine = new Player_V2(this, _midiDriver != MD_PCSPK); - } else if (_version > 2 && _heversion <= 60) { + } else if (_version > 2 && _heversion <= 61) { MidiDriver *nativeMidiDriver = MidiDriver::createMidi(_midiDriver); if (nativeMidiDriver != NULL && _native_mt32) nativeMidiDriver->property (MidiDriver::PROP_CHANNEL_MASK, 0x03FE); @@ -1769,7 +1769,7 @@ void ScummEngine::setupMusic(int midi) { _imuse->property(IMuse::PROP_TEMPO_BASE, ConfMan.getInt("tempo")); _imuse->property(IMuse::PROP_NATIVE_MT32, _native_mt32); _imuse->property(IMuse::PROP_GS, _enable_gs); - if (_heversion == 60 || midi == MDT_TOWNS) { + if (_heversion >= 60 || midi == MDT_TOWNS) { _imuse->property(IMuse::PROP_LIMIT_PLAYERS, 1); _imuse->property(IMuse::PROP_RECYCLE_PLAYERS, 1); } @@ -2125,7 +2125,7 @@ load_game: ((ScummEngine_v90he *)this)->spritesProcessWiz(false); } - if (_version >= 4 && _heversion <= 60) + if (_version >= 4 && _heversion <= 61) cyclePalette(); palManipulate(); if (_doEffect) { diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 0f8009f422..63a573f990 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -1133,7 +1133,7 @@ ScummFile *Sound::openSfxFile() { } if (!file->isOpen()) { - if ((_vm->_heversion == 60 && _vm->_platform == Common::kPlatformMacintosh) || (_vm->_heversion >= 70)) { + if ((_vm->_heversion <= 61 && _vm->_platform == Common::kPlatformMacintosh) || (_vm->_heversion >= 70)) { sprintf(buf, "%s.he2", _vm->getGameName()); } else { sprintf(buf, "%s.tlk", _vm->getGameName()); |