aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreriktorbjorn2011-06-26 09:06:25 +0200
committereriktorbjorn2011-06-26 09:06:25 +0200
commitc6a1051c3defc6cff4a2df5e064a63d6b586f2ae (patch)
tree859f20605a9d4126063bee97a582eb248a99e07f
parentf300c172f08c8982e451f7d335792e15cbc7f6b6 (diff)
downloadscummvm-rg350-c6a1051c3defc6cff4a2df5e064a63d6b586f2ae.tar.gz
scummvm-rg350-c6a1051c3defc6cff4a2df5e064a63d6b586f2ae.tar.bz2
scummvm-rg350-c6a1051c3defc6cff4a2df5e064a63d6b586f2ae.zip
TSAGE: Silence GCC warnings
-rw-r--r--engines/tsage/sound.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp
index 82cd0f16bd..2c00e6ec47 100644
--- a/engines/tsage/sound.cpp
+++ b/engines/tsage/sound.cpp
@@ -31,6 +31,7 @@ namespace tSage {
static SoundManager *_soundManager = NULL;
+#if 0
static void dumpVoiceStruct() {
VoiceTypeStruct *vt = _soundManager->_voiceTypeStructPtrs[1];
if (!vt) {
@@ -41,12 +42,13 @@ static void dumpVoiceStruct() {
assert(vt->_voiceType == VOICETYPE_1);
for (uint idx = 0; idx < vt->_entries.size(); ++idx) {
VoiceStructEntryType1 &vte = vt->_entries[idx]._type1;
- debug("#%d - s=%x, ch=%x, pr=%x | s2=%x, ch2=%x, pr2=%x | s3=%x, ch3=%x, pr3=%x",
- idx, vte._sound, vte._channelNum, vte._priority,
- vte._sound2, vte._channelNum2, vte._priority2,
- vte._sound3, vte._channelNum3, vte._priority3);
+ debug("#%d - s=%p, ch=%x, pr=%x | s2=%p, ch2=%x, pr2=%x | s3=%p, ch3=%x, pr3=%x",
+ idx, (void *)vte._sound, vte._channelNum, vte._priority,
+ (void *)vte._sound2, vte._channelNum2, vte._priority2,
+ (void *)vte._sound3, vte._channelNum3, vte._priority3);
}
}
+#endif
/*--------------------------------------------------------------------------*/