aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNorbert Lange2009-08-12 23:07:41 +0000
committerNorbert Lange2009-08-12 23:07:41 +0000
commitcbc0b9e48033f87731dd966a7bea44959e591a5f (patch)
tree722967bbb91e0185ff4be1c304a834dbfc839f45 /engines
parent0f618509afd100bb9d831959f4910fc1e3c1a682 (diff)
downloadscummvm-rg350-cbc0b9e48033f87731dd966a7bea44959e591a5f.tar.gz
scummvm-rg350-cbc0b9e48033f87731dd966a7bea44959e591a5f.tar.bz2
scummvm-rg350-cbc0b9e48033f87731dd966a7bea44959e591a5f.zip
enable some debug-output
svn-id: r43331
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/sound_amiga.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/kyra/sound_amiga.cpp b/engines/kyra/sound_amiga.cpp
index 17e27ccc32..87bdd443b6 100644
--- a/engines/kyra/sound_amiga.cpp
+++ b/engines/kyra/sound_amiga.cpp
@@ -80,6 +80,7 @@ bool SoundAmiga::init() {
}
void SoundAmiga::loadSoundFile(uint file) {
+ debug(5, "SoundAmiga: playTrack %d", file);
static const char *const tableFilenames[3][2] = {
{ "introscr.mx", "introinst.mx" },
{ "kyramusic.mx", 0 },
@@ -116,6 +117,7 @@ void SoundAmiga::loadSoundFile(uint file) {
}
void SoundAmiga::playTrack(uint8 track) {
+ debug(5, "SoundAmiga: playTrack %d", track);
static const byte tempoIntro[6] = { 0x46, 0x55, 0x3C, 0x41, 0x78, 0x50 };
static const byte tempoIngame[23] = {
0x64, 0x64, 0x64, 0x64, 0x64, 0x73, 0x4B, 0x64,
@@ -179,10 +181,12 @@ void SoundAmiga::playTrack(uint8 track) {
}
void SoundAmiga::haltTrack() {
+ debug(5, "SoundAmiga: haltTrack");
_driver->stopMusic();
}
void SoundAmiga::beginFadeOut() {
+ debug(5, "SoundAmiga: beginFadeOut");
for (int i = 0x3F; i >= 0; --i) {
_driver->setVolume((byte)i);
_vm->delay(_vm->tickLength());
@@ -194,7 +198,7 @@ void SoundAmiga::beginFadeOut() {
}
void SoundAmiga::playSoundEffect(uint8 track) {
- debug("play sfx %d", track);
+ debug(5, "SoundAmiga: playSoundEffect %d", track);
const byte* tableEntry = 0;
bool pan = false;