diff options
author | Travis Howell | 2010-04-02 13:12:23 +0000 |
---|---|---|
committer | Travis Howell | 2010-04-02 13:12:23 +0000 |
commit | 615378ca1135231a2e4bf48113b77430a49e4671 (patch) | |
tree | ef465bbba884927268d728da862a36164a0aaa01 /sound/decoders | |
parent | a55cb7fa10548862b19d50fa4d4487336f0339c5 (diff) | |
download | scummvm-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.cpp | 2 |
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) { |