aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/imuse_digi/dimuse_sndmgr.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2008-01-20 19:30:48 +0000
committerPaweł Kołodziejski2008-01-20 19:30:48 +0000
commitec66f6765c40bdc0a62be5a5755886bd38738ba8 (patch)
treeaebae23fee4b747c571f3cb03586a7e86b510c27 /engines/scumm/imuse_digi/dimuse_sndmgr.cpp
parente8374f6775cae3cc9a4b2f0613312bee4bf57d8d (diff)
downloadscummvm-rg350-ec66f6765c40bdc0a62be5a5755886bd38738ba8.tar.gz
scummvm-rg350-ec66f6765c40bdc0a62be5a5755886bd38738ba8.tar.bz2
scummvm-rg350-ec66f6765c40bdc0a62be5a5755886bd38738ba8.zip
added experimental hack to code to prevent the same start music again if old one didn't have chance finish. it's fix bug #1861704, it may fix other similiar things when seq is to null. added few changes to debug logs.
svn-id: r30590
Diffstat (limited to 'engines/scumm/imuse_digi/dimuse_sndmgr.cpp')
-rw-r--r--engines/scumm/imuse_digi/dimuse_sndmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_sndmgr.cpp b/engines/scumm/imuse_digi/dimuse_sndmgr.cpp
index 5600ac21a1..1511b9aefc 100644
--- a/engines/scumm/imuse_digi/dimuse_sndmgr.cpp
+++ b/engines/scumm/imuse_digi/dimuse_sndmgr.cpp
@@ -633,7 +633,7 @@ int ImuseDigiSndMgr::getJumpFade(SoundDesc *soundDesc, int number) {
}
int32 ImuseDigiSndMgr::getDataFromRegion(SoundDesc *soundDesc, int region, byte **buf, int32 offset, int32 size) {
- debug(5, "getDataFromRegion() region:%d, offset:%d, size:%d, numRegions:%d", region, offset, size, soundDesc->numRegions);
+ debug(6, "getDataFromRegion() region:%d, offset:%d, size:%d, numRegions:%d", region, offset, size, soundDesc->numRegions);
assert(checkForProperHandle(soundDesc));
assert(buf && offset >= 0 && size >= 0);
assert(region >= 0 && region < soundDesc->numRegions);