aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorArnaud Boutonné2010-02-02 23:33:10 +0000
committerArnaud Boutonné2010-02-02 23:33:10 +0000
commit48c023cd5b90800d68a80d29b6b30aa7e3a3ccd3 (patch)
treebaa4ed99175da961c350a8bb86ac71ad25f6b699 /engines
parent2c25dab0e73ddb3f62375c0f340df9b74cd49522 (diff)
downloadscummvm-rg350-48c023cd5b90800d68a80d29b6b30aa7e3a3ccd3.tar.gz
scummvm-rg350-48c023cd5b90800d68a80d29b6b30aa7e3a3ccd3.tar.bz2
scummvm-rg350-48c023cd5b90800d68a80d29b6b30aa7e3a3ccd3.zip
Fascination - Fix one wrong wait time
svn-id: r47826
Diffstat (limited to 'engines')
-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);