diff options
author | Martin Kiewitz | 2010-01-01 17:53:37 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-01 17:53:37 +0000 |
commit | 64d484bd99f0fef9ed56f075fdab8856bfa5fb26 (patch) | |
tree | 5c391ca29d2555b1ae79a49149ccf223020a877e | |
parent | 78b26921933fc1654f73377216acf26c05f66572 (diff) | |
download | scummvm-rg350-64d484bd99f0fef9ed56f075fdab8856bfa5fb26.tar.gz scummvm-rg350-64d484bd99f0fef9ed56f075fdab8856bfa5fb26.tar.bz2 scummvm-rg350-64d484bd99f0fef9ed56f075fdab8856bfa5fb26.zip |
SCI/newmusic: adding debug output to setVolume
svn-id: r46841
-rw-r--r-- | engines/sci/sfx/soundcmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sfx/soundcmd.cpp b/engines/sci/sfx/soundcmd.cpp index c5d21a8a8f..1d02b422e9 100644 --- a/engines/sci/sfx/soundcmd.cpp +++ b/engines/sci/sfx/soundcmd.cpp @@ -891,6 +891,8 @@ void SoundCommandParser::cmdSetHandleVolume(reg_t obj, int16 value) { return; } + debugC(2, kDebugLevelSound, "cmdSetHandleVolume: %d", value); + value = CLIP<int>(value, 0, Audio::Mixer::kMaxChannelVolume); if (musicSlot->volume != value) { |