aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-10 20:52:04 +0000
committerMartin Kiewitz2010-06-10 20:52:04 +0000
commitf470e1d96ed152751dc57418b7659559bc43217b (patch)
tree72adf99fc29f0ed063e91676ee8c33c46a87c51a /engines
parent9f907aac095123ac016a23a559f54ada35af6772 (diff)
downloadscummvm-rg350-f470e1d96ed152751dc57418b7659559bc43217b.tar.gz
scummvm-rg350-f470e1d96ed152751dc57418b7659559bc43217b.tar.bz2
scummvm-rg350-f470e1d96ed152751dc57418b7659559bc43217b.zip
SCI: adding current delta to tick position when getting the setsignalloop command - fixes sq3 music slight delay before actual looping
svn-id: r49585
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sound/midiparser_sci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp
index 3ee8a3a83d..8f88945888 100644
--- a/engines/sci/sound/midiparser_sci.cpp
+++ b/engines/sci/sound/midiparser_sci.cpp
@@ -176,7 +176,7 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) {
_signalSet = true;
_signalToSet = info.basic.param1;
} else {
- _loopTick = _position._play_tick;
+ _loopTick = _position._play_tick + info.delta;
}
}
break;