[Scummvm-cvs-logs] SF.net SVN: scummvm:[35493] scummvm/trunk/engines/groovie/music.cpp

jvprat at users.sourceforge.net jvprat at users.sourceforge.net
Tue Dec 23 09:24:06 CET 2008


Revision: 35493
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35493&view=rev
Author:   jvprat
Date:     2008-12-23 08:24:06 +0000 (Tue, 23 Dec 2008)

Log Message:
-----------
T7G: Don't wait for the CD track to end

Modified Paths:
--------------
    scummvm/trunk/engines/groovie/music.cpp

Modified: scummvm/trunk/engines/groovie/music.cpp
===================================================================
--- scummvm/trunk/engines/groovie/music.cpp	2008-12-23 08:15:10 UTC (rev 35492)
+++ scummvm/trunk/engines/groovie/music.cpp	2008-12-23 08:24:06 UTC (rev 35493)
@@ -129,12 +129,16 @@
 	_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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list