diff options
author | Martin Kiewitz | 2010-06-27 21:12:38 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-27 21:12:38 +0000 |
commit | 456265f8fac8c5020e30fa99e0be1c1ff1a02aa8 (patch) | |
tree | d3a829fb5ee76676a6f88c701d5722cea2ce93e2 /engines/sci/sound | |
parent | 819dc92802d330a27066b755854cba7169b8dfad (diff) | |
download | scummvm-rg350-456265f8fac8c5020e30fa99e0be1c1ff1a02aa8.tar.gz scummvm-rg350-456265f8fac8c5020e30fa99e0be1c1ff1a02aa8.tar.bz2 scummvm-rg350-456265f8fac8c5020e30fa99e0be1c1ff1a02aa8.zip |
SCI: resetting curPos as well when mixing sound resources
svn-id: r50401
Diffstat (limited to 'engines/sci/sound')
-rw-r--r-- | engines/sci/sound/midiparser_sci.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp index 1d25a518e1..50a2407dde 100644 --- a/engines/sci/sound/midiparser_sci.cpp +++ b/engines/sci/sound/midiparser_sci.cpp @@ -444,6 +444,7 @@ byte *MidiParser_SCI::midiMixChannels() { for (int i = 0; i < _track->channelCount; i++) { _track->channels[i].time = 0; _track->channels[i].prev = 0; + _track->channels[i].curPos = 0; totalSize += _track->channels[i].size; } |