aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/ksound.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-20 20:11:12 +0000
committerFilippos Karapetis2009-02-20 20:11:12 +0000
commitac716ad843e386e69a2c865556a4af6e693f9530 (patch)
tree282c31b2ec3c602ddc2f5d59e2cdfada6e740af6 /engines/sci/engine/ksound.cpp
parent208016649999ae89a2bba1f382f4f9fdbdd519b2 (diff)
downloadscummvm-rg350-ac716ad843e386e69a2c865556a4af6e693f9530.tar.gz
scummvm-rg350-ac716ad843e386e69a2c865556a4af6e693f9530.tar.bz2
scummvm-rg350-ac716ad843e386e69a2c865556a4af6e693f9530.zip
Started conversion of debug messages and debug levels to the ScummVM equivalents. Removed the "stubs" and "warnings" debug levels and replaced such kinds of messages with normal warnings
svn-id: r38617
Diffstat (limited to 'engines/sci/engine/ksound.cpp')
-rw-r--r--engines/sci/engine/ksound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp
index efaa3f43cb..fc5bc49224 100644
--- a/engines/sci/engine/ksound.cpp
+++ b/engines/sci/engine/ksound.cpp
@@ -98,7 +98,7 @@ script_set_priority(state_t *s, reg_t obj, int priority) {
if (song->data[0] == 0xf0)
priority = song->data[1];
else
- SCIkdebug(SCIkWARNING, "Attempt to unset song priority when there is no built-in value!\n");
+ warning("Attempt to unset song priority when there is no built-in value");
flags &= ~SCI1_SOUND_FLAG_SCRIPTED_PRI;
} else flags |= SCI1_SOUND_FLAG_SCRIPTED_PRI;
@@ -131,7 +131,7 @@ process_sound_events(state_t *s) { /* Get all sound events, apply their changes
while ((result = sfx_poll(&s->sound, &handle, &cue))) {
reg_t obj = DEFROBNICATE_HANDLE(handle);
if (!is_object(s, obj)) {
- SCIkdebug(SCIkWARNING, "Non-object "PREG" received sound signal (%d/%d)\n", PRINT_REG(obj), result, cue);
+ warning("Non-object "PREG" received sound signal (%d/%d)", PRINT_REG(obj), result, cue);
return;
}
@@ -351,7 +351,7 @@ kDoSound_SCI0(state_t *s, int funct_nr, int argc, reg_t *argv) {
break;
default:
- SCIkwarn(SCIkWARNING, "Unhandled DoSound command: %x\n", command);
+ warning("Unhandled DoSound command: %x", command);
}
// process_sound_events(s); /* Take care of incoming events */