|
From: Jerome F. <kin...@us...> - 2011-03-11 01:45:11
|
Update of /cvsroot/munt/mt32emu/src In directory vz-cvs-4.sog:/tmp/cvs-serv26517 Modified Files: part.cpp Log Message: - Fixed Valgrind warnings due to uninitialised modulation and pitchBend (inspired by the fork guys). Index: part.cpp =================================================================== RCS file: /cvsroot/munt/mt32emu/src/part.cpp,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** part.cpp 10 Mar 2011 22:21:46 -0000 1.44 --- part.cpp 11 Mar 2011 01:45:09 -0000 1.45 *************** *** 58,62 **** --- 58,64 ---- currentInstr[0] = 0; currentInstr[10] = 0; + modulation = 0; expression = 100; + pitchBend = 0; activePartialCount = 0; memset(patchCache, 0, sizeof(patchCache)); |