diff options
author | Torbjörn Andersson | 2012-11-14 06:07:55 +0100 |
---|---|---|
committer | Torbjörn Andersson | 2012-11-14 06:07:55 +0100 |
commit | 493644295da511e43289db49d8cafdf1150a73dc (patch) | |
tree | f22702081d425e67adadc9049e6dfdde1c4badf5 | |
parent | 148a6d334770d992d306e7b399d42259c8efc649 (diff) | |
download | scummvm-rg350-493644295da511e43289db49d8cafdf1150a73dc.tar.gz scummvm-rg350-493644295da511e43289db49d8cafdf1150a73dc.tar.bz2 scummvm-rg350-493644295da511e43289db49d8cafdf1150a73dc.zip |
SCUMM: Remove unnecessary check for Mac Loom
As clone2727 pointed out, the default case handles Loom. I guess it
was a special case before to *prevent* it from trying to play the
sound, and to keep some comments about the format.
-rw-r--r-- | engines/scumm/sound.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp index d6de1cddd5..cfce0cbc62 100644 --- a/engines/scumm/sound.cpp +++ b/engines/scumm/sound.cpp @@ -346,12 +346,6 @@ void Sound::playSound(int soundID) { warning("Scumm::Sound::playSound: encountered audio resoure with chunk type 'SOUN' and sound type %d", type); } } - else if ((_vm->_game.id == GID_LOOM) && (_vm->_game.platform == Common::kPlatformMacintosh)) { - // Mac version of Loom uses yet another sound format - if (_vm->_musicEngine) { - _vm->_musicEngine->startSound(soundID); - } - } else if ((_vm->_game.platform == Common::kPlatformMacintosh) && (_vm->_game.id == GID_INDY3) && READ_BE_UINT16(ptr + 8) == 0x1C) { // Sound format as used in Indy3 EGA Mac. // It seems to be closely related to the Amiga format, see player_v3a.cpp |