aboutsummaryrefslogtreecommitdiff
path: root/scumm/imuse_digi
diff options
context:
space:
mode:
authorPaweł Kołodziejski2005-01-28 15:04:37 +0000
committerPaweł Kołodziejski2005-01-28 15:04:37 +0000
commit6feb7ae90f38c11b85868c54fb5b328d50844856 (patch)
tree420dd80c8413591e2238559a28461f13c000f09c /scumm/imuse_digi
parentd25ac7c9515df23542e5d2739e4e52c431908a3e (diff)
downloadscummvm-rg350-6feb7ae90f38c11b85868c54fb5b328d50844856.tar.gz
scummvm-rg350-6feb7ae90f38c11b85868c54fb5b328d50844856.tar.bz2
scummvm-rg350-6feb7ae90f38c11b85868c54fb5b328d50844856.zip
more proper checks
svn-id: r16667
Diffstat (limited to 'scumm/imuse_digi')
-rw-r--r--scumm/imuse_digi/dimuse_sndmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse_digi/dimuse_sndmgr.cpp b/scumm/imuse_digi/dimuse_sndmgr.cpp
index 9cf6b61632..7881e16d8d 100644
--- a/scumm/imuse_digi/dimuse_sndmgr.cpp
+++ b/scumm/imuse_digi/dimuse_sndmgr.cpp
@@ -589,9 +589,9 @@ int32 ImuseDigiSndMgr::getDataFromRegion(soundStruct *soundHandle, int region, b
#ifdef USE_VORBIS
if (oggMode)
soundHandle->compressedStream = makeVorbisStream(cmpFile, len);
- else
#endif
#ifdef USE_MAD
+ if (!oggMode)
soundHandle->compressedStream = makeMP3Stream(cmpFile, len);
#endif
assert(soundHandle->compressedStream);