[Scummvm-cvs-logs] SF.net SVN: scummvm:[52245] scummvm/trunk/sound/softsynth/fmtowns_pc98/ towns_audio.cpp
athrxx at users.sourceforge.net
athrxx at users.sourceforge.net
Sat Aug 21 00:10:15 CEST 2010
Revision: 52245
http://scummvm.svn.sourceforge.net/scummvm/?rev=52245&view=rev
Author: athrxx
Date: 2010-08-20 22:10:15 +0000 (Fri, 20 Aug 2010)
Log Message:
-----------
FM-TOWNS AUDIO: fix possible crash
(This crash might have occured on very slow machines or when using valgrind)
Modified Paths:
--------------
scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp
Modified: scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp 2010-08-20 21:59:14 UTC (rev 52244)
+++ scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp 2010-08-20 22:10:15 UTC (rev 52245)
@@ -104,7 +104,8 @@
_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[] = {
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