[Scummvm-cvs-logs] SF.net SVN: scummvm:[48214] scummvm/trunk/sound/softsynth/opl/dbopl.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue Mar 9 06:03:39 CET 2010


Revision: 48214
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48214&view=rev
Author:   eriktorbjorn
Date:     2010-03-09 05:03:38 +0000 (Tue, 09 Mar 2010)

Log Message:
-----------
Initialise 'releaseAdd' to avoid a Valgrind warning in Write20() when the
emulator is initialised.

Modified Paths:
--------------
    scummvm/trunk/sound/softsynth/opl/dbopl.cpp

Modified: scummvm/trunk/sound/softsynth/opl/dbopl.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/opl/dbopl.cpp	2010-03-09 01:20:23 UTC (rev 48213)
+++ scummvm/trunk/sound/softsynth/opl/dbopl.cpp	2010-03-09 05:03:38 UTC (rev 48214)
@@ -618,6 +618,7 @@
 	currentLevel = ENV_MAX;
 	totalLevel = ENV_MAX;
 	volume = ENV_MAX;
+	releaseAdd = 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