aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-01-07 14:03:40 +0000
committerMax Horn2004-01-07 14:03:40 +0000
commitd2a56c01d6b31dbe125a3d108699d6572c9d82f3 (patch)
tree61ea991e044d5696bb4520f8510531153d2c50cc
parenta04b2fc020c48bc4731fca9bdc5fc6647e903745 (diff)
downloadscummvm-rg350-d2a56c01d6b31dbe125a3d108699d6572c9d82f3.tar.gz
scummvm-rg350-d2a56c01d6b31dbe125a3d108699d6572c9d82f3.tar.bz2
scummvm-rg350-d2a56c01d6b31dbe125a3d108699d6572c9d82f3.zip
is this discrepancy here intended?
svn-id: r12216
-rw-r--r--scumm/imuse_digi/dimuse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp
index 1154d10d8d..f8dc46992d 100644
--- a/scumm/imuse_digi/dimuse.cpp
+++ b/scumm/imuse_digi/dimuse.cpp
@@ -134,7 +134,7 @@ void IMuseDigital::callback() {
if (_sound->getBits(_track[l].soundHandle) == 12) {
byte *ptr = NULL;
mixer_size += _track[l].mod;
- int length = (((mixer_size * 3) / 4) / 3) * 3;
+ int length = (((mixer_size * 3) / 4) / 3) * 3; // == (mixer_size / 4) * 3 != (mixer_size / 3) * 4
_track[l].mod = ((mixer_size * 3) / 4) - length;
mixer_size = length;