aboutsummaryrefslogtreecommitdiff
path: root/sound/decoders
diff options
context:
space:
mode:
authorTravis Howell2010-04-02 13:12:23 +0000
committerTravis Howell2010-04-02 13:12:23 +0000
commit615378ca1135231a2e4bf48113b77430a49e4671 (patch)
treeef465bbba884927268d728da862a36164a0aaa01 /sound/decoders
parenta55cb7fa10548862b19d50fa4d4487336f0339c5 (diff)
downloadscummvm-rg350-615378ca1135231a2e4bf48113b77430a49e4671.tar.gz
scummvm-rg350-615378ca1135231a2e4bf48113b77430a49e4671.tar.bz2
scummvm-rg350-615378ca1135231a2e4bf48113b77430a49e4671.zip
Fix bug #2976353 - NIPPON: Sound looping fails (regression). By reverting 47469, since the IFF sound code is only used by the Parallaction game engine.
svn-id: r48467
Diffstat (limited to 'sound/decoders')
-rw-r--r--sound/decoders/iff_sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/decoders/iff_sound.cpp b/sound/decoders/iff_sound.cpp
index 92054901e4..148de5b621 100644
--- a/sound/decoders/iff_sound.cpp
+++ b/sound/decoders/iff_sound.cpp
@@ -114,7 +114,7 @@ AudioStream *make8SVXStream(Common::ReadStream &input, bool loop) {
if (loop) {
// the standard way to loop 8SVX audio implies use of the oneShotHiSamples and
// repeatHiSamples fields
- loopStart = loader._header.oneShotHiSamples;
+ loopStart = 0;
loopEnd = loader._header.oneShotHiSamples + loader._header.repeatHiSamples;
if (loopStart != loopEnd) {