aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2004-01-07 13:40:54 +0000
committerJames Brown2004-01-07 13:40:54 +0000
commita04b2fc020c48bc4731fca9bdc5fc6647e903745 (patch)
tree4d0cf4b9c252a4713dcbe86baf541f6631429723
parent9a191d2c43982f541dca8d3e697e34adbaf78165 (diff)
downloadscummvm-rg350-a04b2fc020c48bc4731fca9bdc5fc6647e903745.tar.gz
scummvm-rg350-a04b2fc020c48bc4731fca9bdc5fc6647e903745.tar.bz2
scummvm-rg350-a04b2fc020c48bc4731fca9bdc5fc6647e903745.zip
Temporarly enabling this buffer underrun hack until aquadran looks at it. (See bug 872339)
svn-id: r12215
-rw-r--r--scumm/imuse_digi/dimuse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp
index c9787b85e6..1154d10d8d 100644
--- a/scumm/imuse_digi/dimuse.cpp
+++ b/scumm/imuse_digi/dimuse.cpp
@@ -181,8 +181,8 @@ void IMuseDigital::callback() {
break;
}
mixer_size -= result;
-// if (mixer_size < 0)
-// mixer_size = 0;
+ if (mixer_size < 0)
+ mixer_size = 0;
assert(mixer_size >= 0);
} while (mixer_size != 0);
}