aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-07-22 22:14:14 +0000
committerMax Horn2003-07-22 22:14:14 +0000
commit2becb78d8681ca6bf80ad50c8f669e07237ad36f (patch)
treed9f4470616525fd3dc5153f99008163f00bb461e /scumm
parent3b033956aa08b0e90ae6bb30b6ecd690926cc4ab (diff)
downloadscummvm-rg350-2becb78d8681ca6bf80ad50c8f669e07237ad36f.tar.gz
scummvm-rg350-2becb78d8681ca6bf80ad50c8f669e07237ad36f.tar.bz2
scummvm-rg350-2becb78d8681ca6bf80ad50c8f669e07237ad36f.zip
fix for bug #762593 (ZAK256: Audio CD not handled properly)
svn-id: r9135
Diffstat (limited to 'scumm')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 126fa9579d..0a7eefaeca 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -460,7 +460,7 @@ void Sound::playSound(int soundID) {
if (pollCD() == 1)
return;
- playCDTrack(track, loops == 0xff ? -1 : loops, start, end);
+ playCDTrack(track, loops == 0xff ? -1 : loops, start, end - start);
_currentCDSound = soundID;
break;
}