diff options
author | Filippos Karapetis | 2007-07-27 00:59:12 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-07-27 00:59:12 +0000 |
commit | 533ebe13d2f552bd7d06c04d10e9a20c8033a1ff (patch) | |
tree | 9c9ba9539f9f875d2d5373f2888805c37d56b0f7 | |
parent | 6dd6ea5fc7d34e207dbcaaec1cb9463635fa8a6a (diff) | |
download | scummvm-rg350-533ebe13d2f552bd7d06c04d10e9a20c8033a1ff.tar.gz scummvm-rg350-533ebe13d2f552bd7d06c04d10e9a20c8033a1ff.tar.bz2 scummvm-rg350-533ebe13d2f552bd7d06c04d10e9a20c8033a1ff.zip |
Fix for bug #1761530 - "COMI: iMUSE-related crash on startup"
svn-id: r28226
-rw-r--r-- | engines/scumm/imuse_digi/dimuse_sndmgr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_sndmgr.cpp b/engines/scumm/imuse_digi/dimuse_sndmgr.cpp index c66209b42e..acc6593347 100644 --- a/engines/scumm/imuse_digi/dimuse_sndmgr.cpp +++ b/engines/scumm/imuse_digi/dimuse_sndmgr.cpp @@ -619,13 +619,12 @@ int32 ImuseDigiSndMgr::getDataFromRegion(SoundDesc *soundDesc, int region, byte if (len) error("Vorbis library compiled support needed!"); #endif - assert(len); soundMode = 2; } if (!len) { sprintf(fileName, "%s_reg%03d.mp3", soundDesc->name, region); cmpFile = soundDesc->bundle->getFile(fileName, offs, len); -#ifndef USE_VORBIS +#ifndef USE_MAD if (len) error("Mad library compiled support needed!"); #endif |