From 74b6fdcae4b82fe77906e1811c03c2ec43c4cc98 Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Fri, 20 Aug 2010 22:10:15 +0000 Subject: FM-TOWNS AUDIO: fix possible crash (This crash might have occured on very slow machines or when using valgrind) svn-id: r52245 --- sound/softsynth/fmtowns_pc98/towns_audio.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sound/softsynth/fmtowns_pc98') diff --git a/sound/softsynth/fmtowns_pc98/towns_audio.cpp b/sound/softsynth/fmtowns_pc98/towns_audio.cpp index bbc4891edc..5c0961b8c3 100644 --- a/sound/softsynth/fmtowns_pc98/towns_audio.cpp +++ b/sound/softsynth/fmtowns_pc98/towns_audio.cpp @@ -104,7 +104,8 @@ TownsAudioInterface::TownsAudioInterface(Audio::Mixer *mixer, TownsAudioInterfac _fmInstruments(0), _pcmInstruments(0), _pcmChan(0), _waveTables(0), _waveTablesTotalDataSize(0), _baserate(55125.0f / (float)mixer->getOutputRate()), _tickLength(0), _timer(0), _drv(driver), _pcmSfxChanMask(0), _musicVolume(Audio::Mixer::kMaxMixerVolume), _sfxVolume(Audio::Mixer::kMaxMixerVolume), - _outputVolumeFlags(0), _outputMuteFlags(0), _ready(false) { + _outputVolumeFlags(0), _outputMuteFlags(0), _pcmChanOut(0), _pcmChanReserved(0), _pcmChanKeyPressed(0), + _pcmChanEffectPlaying(0), _pcmChanKeyPlaying(0), _ready(false) { #define INTCB(x) &TownsAudioInterface::intf_##x static const TownsAudioIntfCallback intfCb[] = { -- cgit v1.2.3