diff options
author | Walter van Niftrik | 2009-05-16 14:24:12 +0000 |
---|---|---|
committer | Walter van Niftrik | 2009-05-16 14:24:12 +0000 |
commit | f010eef04e8410fd48a5c9fe098bf10f7ddf81fe (patch) | |
tree | 6a27da138579fd3505023b053caf95f68647103e /engines | |
parent | 6ebdb0096532f44c56294a38bfa0c94eeb641bb5 (diff) | |
download | scummvm-rg350-f010eef04e8410fd48a5c9fe098bf10f7ddf81fe.tar.gz scummvm-rg350-f010eef04e8410fd48a5c9fe098bf10f7ddf81fe.tar.bz2 scummvm-rg350-f010eef04e8410fd48a5c9fe098bf10f7ddf81fe.zip |
SCI: Turned some relatively harmless yet frequently occurring warnings into debug messages.
svn-id: r40629
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kevent.cpp | 3 | ||||
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 14 |
2 files changed, 9 insertions, 8 deletions
diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp index 2c3eea4ac9..bbdc8d3bc5 100644 --- a/engines/sci/engine/kevent.cpp +++ b/engines/sci/engine/kevent.cpp @@ -224,7 +224,8 @@ reg_t kLocalToGlobal(EngineState *s, int funct_nr, int argc, reg_t *argv) { } reg_t kJoystick(EngineState *s, int funct_nr, int argc, reg_t *argv) { - warning("Unimplemented syscall 'Joystick()"); + // Subfunction 12 sets/gets joystick repeat rate + debug(5, "Unimplemented syscall 'Joystick()'"); return NULL_REG; } diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index e149acfc43..59c9eba0c3 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -1250,13 +1250,13 @@ reg_t kSetNowSeen(EngineState *s, int funct_nr, int argc, reg_t *argv) { reg_t kPalette(EngineState *s, int funct_nr, int argc, reg_t *argv) { switch (UKPV(0)) { case 1: - warning("STUB: kPalette() effect 1, direct palette set"); + debug(5, "STUB: kPalette() effect 1, direct palette set"); break; case 2: - warning("STUB: kPalette() effect 2, set flag to colors"); + debug(5, "STUB: kPalette() effect 2, set flag to colors"); break; case 3: - warning("STUB: kPalette() effect 3, clear flag to colors"); + debug(5, "STUB: kPalette() effect 3, clear flag to colors"); break; case 4: { // Set palette intensity #if 0 @@ -1273,7 +1273,7 @@ reg_t kPalette(EngineState *s, int funct_nr, int argc, reg_t *argv) { return s->r_acc; #endif - warning("STUB: kPalette() effect 4, set color intensity"); + debug(5, "STUB: kPalette() effect 4, set color intensity"); break; } case 5: { // Find closest color @@ -1300,13 +1300,13 @@ reg_t kPalette(EngineState *s, int funct_nr, int argc, reg_t *argv) { return make_reg(0, bestindex); } case 6: - warning("STUB: kPalette() effect 6, animate palette"); + debug(5, "STUB: kPalette() effect 6, animate palette"); break; case 7: - warning("STUB: kPalette() effect 7, save palette to heap"); + debug(5, "STUB: kPalette() effect 7, save palette to heap"); break; case 8: - warning("STUB: kPalette() effect 8, set stored palette"); + debug(5, "STUB: kPalette() effect 8, set stored palette"); break; default: warning("kPalette(): Unimplemented subfunction: %d", UKPV(0)); |