aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2011-08-08 20:15:24 +0200
committerJohannes Schickel2011-08-08 20:15:24 +0200
commitfdb2f735dc325269e006a7eb87472c7e3a3ac61f (patch)
tree8024e5e11798212611cf1a5dd1a6086441c21630
parent99d5087918d667b8531dabab6e4c989c03323c51 (diff)
downloadscummvm-rg350-fdb2f735dc325269e006a7eb87472c7e3a3ac61f.tar.gz
scummvm-rg350-fdb2f735dc325269e006a7eb87472c7e3a3ac61f.tar.bz2
scummvm-rg350-fdb2f735dc325269e006a7eb87472c7e3a3ac61f.zip
SCUMM: Remove unneeded check for CMS in readSoundResource.
CMS support is only available in games using readSoundResourceSmallHeader.
-rw-r--r--engines/scumm/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp
index 33db70985d..50ae045052 100644
--- a/engines/scumm/sound.cpp
+++ b/engines/scumm/sound.cpp
@@ -1144,10 +1144,10 @@ int ScummEngine::readSoundResource(ResId idx) {
break;
}
- // We only allow SPK resources for PC Speaker, PCJr and CMS here
+ // We only allow SPK resources for PC Speaker and PCJr here
// since other resource would sound horribly with their output
// drivers.
- if ((_sound->_musicType == MDT_PCSPK || _sound->_musicType == MDT_PCJR || _sound->_musicType == MDT_CMS) && pri != 11)
+ if ((_sound->_musicType == MDT_PCSPK || _sound->_musicType == MDT_PCJR) && pri != 11)
pri = -1;
// We only allow ADL resources when AdLib or FM-Towns is used as