diff options
author | Filippos Karapetis | 2009-02-20 20:11:12 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-02-20 20:11:12 +0000 |
commit | ac716ad843e386e69a2c865556a4af6e693f9530 (patch) | |
tree | 282c31b2ec3c602ddc2f5d59e2cdfada6e740af6 /engines/sci/engine/vm.cpp | |
parent | 208016649999ae89a2bba1f382f4f9fdbdd519b2 (diff) | |
download | scummvm-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/vm.cpp')
-rw-r--r-- | engines/sci/engine/vm.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index 622fad8920..9aee6eb123 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -23,6 +23,7 @@ * */ +#include "common/debug.h" #include "sci/include/sciresource.h" #include "sci/include/engine.h" @@ -739,7 +740,7 @@ run_vm(state_t *s, int restoring) { scr = script_locate_by_segment(s, xs->addr.pc.segment); if (!scr) { /* No script? Implicit return via fake instruction buffer */ - SCIkdebug(SCIkWARNING, "Running on non-existant script in segment %x!\n", xs->addr.pc.segment); + warning("Running on non-existant script in segment %x!\n", xs->addr.pc.segment); code_buf = _fake_return_buffer; #ifndef DISABLE_VALIDATIONS code_buf_size = 2; @@ -760,7 +761,7 @@ run_vm(state_t *s, int restoring) { local_script = script_locate_by_segment(s, xs->local_segment); if (!local_script) { - SCIkdebug(SCIkWARNING, "Could not find local script from segment %x!\n", xs->local_segment); + warning("Could not find local script from segment %x", xs->local_segment); local_script = NULL; variables_base[VAR_LOCAL] = variables[VAR_LOCAL] = NULL; #ifndef DISABLE_VALIDATIONS |