aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/sound/adlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/sound/adlib.cpp b/engines/gob/sound/adlib.cpp
index e3dff14ace..0138a9dda8 100644
--- a/engines/gob/sound/adlib.cpp
+++ b/engines/gob/sound/adlib.cpp
@@ -697,7 +697,7 @@ void MDYPlayer::interpret() {
if (_wait == 0xF8) {
_wait = 0xF0;
if (*_playPos != 0xF8)
- _wait += *(_playPos++);
+ _wait += *(_playPos++) & 0x0F;
}
// _playPos++;
_samplesTillPoll = _wait * (_rate / 1000);