aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-15 15:27:42 +0000
committerFilippos Karapetis2007-07-15 15:27:42 +0000
commit4594202aaf5b25608e84d1e79fcd78cf476301cc (patch)
tree46d18ff723f529d13f28815dc16dfae3be57b8a4 /engines
parent5fc39e7a305d570b9a4bb9b2548f37f063330a16 (diff)
downloadscummvm-rg350-4594202aaf5b25608e84d1e79fcd78cf476301cc.tar.gz
scummvm-rg350-4594202aaf5b25608e84d1e79fcd78cf476301cc.tar.bz2
scummvm-rg350-4594202aaf5b25608e84d1e79fcd78cf476301cc.zip
To loop a music track forever, the number of loops is set to 0
svn-id: r28105
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/music.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/saga/music.cpp b/engines/saga/music.cpp
index 5f6e558401..a02f48db1b 100644
--- a/engines/saga/music.cpp
+++ b/engines/saga/music.cpp
@@ -122,8 +122,7 @@ DigitalMusicInputStream::~DigitalMusicInputStream() {
}
void DigitalMusicInputStream::createCompressedStream() {
- // we specify 32000 loops when looping is specified, which is quite close to looping forever
- uint numLoops = _looping ? 32000 : 1;
+ uint numLoops = _looping ? 0 : 1;
_memoryStream = _file->readStream(resourceData->size);
switch (soundType) {