diff options
author | m-kiewitz | 2013-09-16 00:34:49 +0200 |
---|---|---|
committer | m-kiewitz | 2013-09-16 00:34:49 +0200 |
commit | 1c9316cee03c5e2f694cf630b231f21e5c5ad32a (patch) | |
tree | 88530e4d74858091ee3b4d4c9acc3ffa8921748a /engines | |
parent | 0fd15e6db3d335ed1cbf36e7735abd2691d5096e (diff) | |
download | scummvm-rg350-1c9316cee03c5e2f694cf630b231f21e5c5ad32a.tar.gz scummvm-rg350-1c9316cee03c5e2f694cf630b231f21e5c5ad32a.tar.bz2 scummvm-rg350-1c9316cee03c5e2f694cf630b231f21e5c5ad32a.zip |
SCI: longbow intro night rider fix (with help of wjp) - seems to fix bug 3489094
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/sound/midiparser_sci.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp index f0451449f5..7640c5f314 100644 --- a/engines/sci/sound/midiparser_sci.cpp +++ b/engines/sci/sound/midiparser_sci.cpp @@ -455,7 +455,9 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) { } if (_jumpToHoldTick) { _jumpToHoldTick = false; + _pSnd->inFastForward = true; jumpToTick(_loopTick, false, false); + _pSnd->inFastForward = false; } info.start = _position._playPos; @@ -664,7 +666,9 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) { assert(_loopTick + info.delta < _position._playTick); uint32 extraDelta = info.delta; + _pSnd->inFastForward = true; jumpToTick(_loopTick); + _pSnd->inFastForward = false; _nextEvent.delta += extraDelta; } else { _pSnd->status = kSoundStopped; |