aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth
diff options
context:
space:
mode:
authorFilippos Karapetis2012-12-27 16:35:10 +0200
committerFilippos Karapetis2012-12-27 17:12:27 +0200
commitf3ccc38e8d0f2ad310c522ee8e7a1de85e933263 (patch)
tree56fd3e18dfb6aedc6d201379480d0afceea650e8 /audio/softsynth
parentbf62205c737fe3904577d5e314b58cadba0c2789 (diff)
downloadscummvm-rg350-f3ccc38e8d0f2ad310c522ee8e7a1de85e933263.tar.gz
scummvm-rg350-f3ccc38e8d0f2ad310c522ee8e7a1de85e933263.tar.bz2
scummvm-rg350-f3ccc38e8d0f2ad310c522ee8e7a1de85e933263.zip
MT32: Add missing initialization code
This code wasn't added when syncing with the official munt codebase
Diffstat (limited to 'audio/softsynth')
-rw-r--r--audio/softsynth/mt32/TVA.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/softsynth/mt32/TVA.cpp b/audio/softsynth/mt32/TVA.cpp
index fd442da905..7aadd64522 100644
--- a/audio/softsynth/mt32/TVA.cpp
+++ b/audio/softsynth/mt32/TVA.cpp
@@ -30,7 +30,7 @@ namespace MT32Emu {
static Bit8u biasLevelToAmpSubtractionCoeff[13] = {255, 187, 137, 100, 74, 54, 40, 29, 21, 15, 10, 5, 0};
TVA::TVA(const Partial *usePartial, LA32Ramp *useAmpRamp) :
- partial(usePartial), ampRamp(useAmpRamp), system_(&usePartial->getSynth()->mt32ram.system) {
+ partial(usePartial), ampRamp(useAmpRamp), system_(&usePartial->getSynth()->mt32ram.system), phase(TVA_PHASE_DEAD) {
}
void TVA::startRamp(Bit8u newTarget, Bit8u newIncrement, int newPhase) {