diff options
author | Max Horn | 2010-01-23 13:33:08 +0000 |
---|---|---|
committer | Max Horn | 2010-01-23 13:33:08 +0000 |
commit | 56dea320e2769deda55efa7c1a9a1457e42f9191 (patch) | |
tree | 60a41da6c476919fc9499cc68d681f33077fb775 | |
parent | 2c71e7b76db6beed9d9bb2d0e3ad5f1f64cdfbf1 (diff) | |
download | scummvm-rg350-56dea320e2769deda55efa7c1a9a1457e42f9191.tar.gz scummvm-rg350-56dea320e2769deda55efa7c1a9a1457e42f9191.tar.bz2 scummvm-rg350-56dea320e2769deda55efa7c1a9a1457e42f9191.zip |
Fix (?) looping in IFF FORM-8SVX data
svn-id: r47469
-rw-r--r-- | sound/iff_sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/iff_sound.cpp b/sound/iff_sound.cpp index c201830f60..704e3a0543 100644 --- a/sound/iff_sound.cpp +++ b/sound/iff_sound.cpp @@ -112,7 +112,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 = 0; + loopStart = loader._header.oneShotHiSamples; loopEnd = loader._header.oneShotHiSamples + loader._header.repeatHiSamples; flags |= Audio::FLAG_LOOP; } |