[Scummvm-cvs-logs] scummvm master -> c6a1051c3defc6cff4a2df5e064a63d6b586f2ae
eriktorbjorn
eriktorbjorn at telia.com
Sun Jun 26 09:08:19 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c6a1051c3d TSAGE: Silence GCC warnings
Commit: c6a1051c3defc6cff4a2df5e064a63d6b586f2ae
https://github.com/scummvm/scummvm/commit/c6a1051c3defc6cff4a2df5e064a63d6b586f2ae
Author: eriktorbjorn (eriktorbjorn at users.sourceforge.net)
Date: 2011-06-26T00:06:25-07:00
Commit Message:
TSAGE: Silence GCC warnings
Changed paths:
engines/tsage/sound.cpp
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp
index 82cd0f1..2c00e6e 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
/*--------------------------------------------------------------------------*/
More information about the Scummvm-git-logs
mailing list