mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 04:35:16 +00:00
Move SCUMM version checks for settings up monst.er.sou file, to higher level.
svn-id: r25716
This commit is contained in:
parent
402e364852
commit
abd20d59fa
@ -1088,7 +1088,7 @@ int ScummEngine::init() {
|
||||
_imuse->setBase(_res->address[rtSound]);
|
||||
}
|
||||
|
||||
if (_game.version >= 5)
|
||||
if (_game.version >= 5 && _game.version <= 7)
|
||||
_sound->setupSound();
|
||||
|
||||
updateSoundSettings();
|
||||
@ -2150,7 +2150,7 @@ void ScummEngine::restart() {
|
||||
}
|
||||
|
||||
// Reinit sound engine
|
||||
if (_game.version >= 5)
|
||||
if (_game.version >= 5 && _game.version <= 7)
|
||||
_sound->setupSound();
|
||||
|
||||
// Re-run bootscript
|
||||
|
@ -934,7 +934,7 @@ BaseScummFile *Sound::openSfxFile() {
|
||||
if (file->open(tmp) && _vm->_game.heversion <= 73)
|
||||
file->setEnc(0x69);
|
||||
_soundMode = kVOCMode;
|
||||
} else if (_vm->_game.version >= 5 && _vm->_game.version <= 7) {
|
||||
} else {
|
||||
for (uint j = 0; j < 2 && !file->isOpen(); ++j) {
|
||||
for (int i = 0; extensions[i].ext; ++i) {
|
||||
tmp = basename[j] + extensions[i].ext;
|
||||
|
Loading…
x
Reference in New Issue
Block a user