diff options
author | Johannes Schickel | 2008-11-16 20:46:18 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-11-16 20:46:18 +0000 |
commit | c4a7088c5b5732bc4ffb1a0cea91ed633e0a2d54 (patch) | |
tree | e483c207f3346018cfaef5fd61c35128fcae0d85 | |
parent | b1fa413ed4fe145f0103d279db35e077e8ff9f2f (diff) | |
download | scummvm-rg350-c4a7088c5b5732bc4ffb1a0cea91ed633e0a2d54.tar.gz scummvm-rg350-c4a7088c5b5732bc4ffb1a0cea91ed633e0a2d54.tar.bz2 scummvm-rg350-c4a7088c5b5732bc4ffb1a0cea91ed633e0a2d54.zip |
Fixed valgrind warning.
svn-id: r35099
-rw-r--r-- | engines/kyra/sound_towns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound_towns.cpp b/engines/kyra/sound_towns.cpp index 8c4f8a6c7e..60ff20ef60 100644 --- a/engines/kyra/sound_towns.cpp +++ b/engines/kyra/sound_towns.cpp @@ -2556,9 +2556,9 @@ bool TownsPC98_OpnChannelPCM::control_ff_endOfTrack(uint8 para) { TownsPC98_OpnSquareSineSource::TownsPC98_OpnSquareSineSource(const uint32 timerbase) : _tlTable(0), _tleTable(0), _updateRequest(-1), _tickLength(timerbase * 27), _ready(0), _reg(0), _rand(1), _outN(1), _nTick(0), _evpUpdateCnt(0), _evpTimer(0x1f), _pReslt(0x1f), _attack(0), _cont(false), _evpUpdate(true), - _timer(0), _noiseGenerator(0) { + _timer(0), _noiseGenerator(0), _chanEnable(0) { - memset(_channels, 0, sizeof(Channel) * 3); + memset(_channels, 0, sizeof(_channels)); _reg = new uint8 *[11]; _reg[0] = &_channels[0].frqL; |