From 1162e9a0358be1c6b236cc0517b2c32f86cfb402 Mon Sep 17 00:00:00 2001 From: Jordi Vilalta Prat Date: Tue, 23 Dec 2008 08:24:06 +0000 Subject: T7G: Don't wait for the CD track to end svn-id: r35493 --- engines/groovie/music.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/groovie') 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); -- cgit v1.2.3