aboutsummaryrefslogtreecommitdiff
path: root/sound/mixer.cpp
diff options
context:
space:
mode:
authorMax Horn2003-04-30 12:51:07 +0000
committerMax Horn2003-04-30 12:51:07 +0000
commit01d3067b7dd5697d7a0cead1516e23657df5d3b7 (patch)
treea512cbf88ee19f0654c086df9250384d95ff766e /sound/mixer.cpp
parent38b6a9f0901b33b65ec8adeb7e7207e432f55ce1 (diff)
downloadscummvm-rg350-01d3067b7dd5697d7a0cead1516e23657df5d3b7.tar.gz
scummvm-rg350-01d3067b7dd5697d7a0cead1516e23657df5d3b7.tar.bz2
scummvm-rg350-01d3067b7dd5697d7a0cead1516e23657df5d3b7.zip
PalmOS changes
svn-id: r7222
Diffstat (limited to 'sound/mixer.cpp')
-rw-r--r--sound/mixer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 1d4ebde0b8..e3743c4f41 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -26,6 +26,8 @@
#include "common/file.h"
SoundMixer::SoundMixer() {
+ memset(this,0,sizeof(SoundMixer)); // palmos
+
_volumeTable = (int16 *)calloc(256 * sizeof(int16), 1);
_beginSlots = 0;
for (int i = 0; i != NUM_CHANNELS; i++) {