[Scummvm-cvs-logs] SF.net SVN: scummvm:[55039] scummvm/trunk/engines/kyra/sound_towns.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sat Dec 25 23:10:52 CET 2010


Revision: 55039
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55039&view=rev
Author:   athrxx
Date:     2010-12-25 22:10:51 +0000 (Sat, 25 Dec 2010)

Log Message:
-----------
KYRA FM-TOWNS: improved cd audio music fading

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/sound_towns.cpp

Modified: scummvm/trunk/engines/kyra/sound_towns.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_towns.cpp	2010-12-25 19:52:54 UTC (rev 55038)
+++ scummvm/trunk/engines/kyra/sound_towns.cpp	2010-12-25 22:10:51 UTC (rev 55039)
@@ -248,8 +248,10 @@
 			_vm->delay(_vm->tickLength());
 		}
 
-		for (int i = 58; i > 0; i--)
+		for (int i = 58; i > 0; i--) {
 			_driver->setOutputVolume(1, i, i);
+			_vm->delay(1);
+		}
 
 		_driver->setOutputVolume(1, 0, 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