From fdb2f735dc325269e006a7eb87472c7e3a3ac61f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 8 Aug 2011 20:15:24 +0200 Subject: SCUMM: Remove unneeded check for CMS in readSoundResource. CMS support is only available in games using readSoundResourceSmallHeader. --- engines/scumm/sound.cpp | 4 ++-- 1 file 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 -- cgit v1.2.3