aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-12-23 08:24:06 +0000
committerJordi Vilalta Prat2008-12-23 08:24:06 +0000
commit1162e9a0358be1c6b236cc0517b2c32f86cfb402 (patch)
tree7c092b92e9a9f16cefca73babc2bcfe5d9b785f3
parent95833732b3c23c3352e86a9ffada7b48c930c14c (diff)
downloadscummvm-rg350-1162e9a0358be1c6b236cc0517b2c32f86cfb402.tar.gz
scummvm-rg350-1162e9a0358be1c6b236cc0517b2c32f86cfb402.tar.bz2
scummvm-rg350-1162e9a0358be1c6b236cc0517b2c32f86cfb402.zip
T7G: Don't wait for the CD track to end
svn-id: r35493
-rw-r--r--engines/groovie/music.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/groovie/music.cpp b/engines/groovie/music.cpp
index ed0f78d12b..65cedfeb25 100644
--- a/engines/groovie/music.cpp
+++ b/engines/groovie/music.cpp
@@ -129,12 +129,16 @@ void MusicPlayer::playCD(uint8 track) {
_prevCDtrack = track;
// Wait until the CD stops playing the current song
+ // It was in the original interpreter, but it introduces a big delay
+ // in the middle of the introduction, so it's disabled right now
+ /*
AudioCD.updateCD();
while (AudioCD.isPlaying()) {
// Wait a bit and try again
_vm->_system->delayMillis(100);
AudioCD.updateCD();
}
+ */
// Play the track starting at the requested offset (1000ms = 75 frames)
AudioCD.play(track - 1, 1, startms * 75 / 1000, 0);