aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/sound.cpp')
-rw-r--r--engines/m4/sound.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/m4/sound.cpp b/engines/m4/sound.cpp
index e0fbd2f7a9..76f0cded46 100644
--- a/engines/m4/sound.cpp
+++ b/engines/m4/sound.cpp
@@ -194,7 +194,7 @@ void Sound::loadDSRFile(const char *fileName) {
// Read header
_dsrFile.entryCount = fileStream->readUint16LE();
- //printf("DSR has %i entries\n", _dsrFile.entryCount);
+ //warning(kDebugSound, "DSR has %i entries\n", _dsrFile.entryCount);
for (int i = 0; i < _dsrFile.entryCount; i++) {
DSREntry newEntry;
@@ -206,13 +206,13 @@ void Sound::loadDSRFile(const char *fileName) {
_dsrFile.dsrEntries.push_back(newEntry);
/*
- printf("%i: ", i);
- printf("frequency: %i ", newEntry->frequency);
- printf("channels: %i ", newEntry->channels);
- printf("comp: %i ", newEntry.compSize);
- printf("uncomp: %i ", newEntry.uncompSize);
- printf("offset: %i ", newEntry->offset);
- printf("\n");
+ warning(kDebugSound, "%i: ", i);
+ warning(kDebugSound, "frequency: %i ", newEntry->frequency);
+ warning(kDebugSound, "channels: %i ", newEntry->channels);
+ warning(kDebugSound, "comp: %i ", newEntry.compSize);
+ warning(kDebugSound, "uncomp: %i ", newEntry.uncompSize);
+ warning(kDebugSound, "offset: %i ", newEntry->offset);
+ warning(kDebugSound, "\n");
*/
}