diff options
author | Kostas Nakos | 2007-05-12 22:33:13 +0000 |
---|---|---|
committer | Kostas Nakos | 2007-05-12 22:33:13 +0000 |
commit | fcd12dbde81c253e6ec00a0474a418ad30583bc2 (patch) | |
tree | 9d943d9597ac33e268ab8dbb877b6b2e938d5038 /backends/platform/wince | |
parent | 1c6ab01f9e0ad2a25dc54f3fcc85893b2695b6d2 (diff) | |
download | scummvm-rg350-fcd12dbde81c253e6ec00a0474a418ad30583bc2.tar.gz scummvm-rg350-fcd12dbde81c253e6ec00a0474a418ad30583bc2.tar.bz2 scummvm-rg350-fcd12dbde81c253e6ec00a0474a418ad30583bc2.zip |
changed some warnings into debug msgs
svn-id: r26815
Diffstat (limited to 'backends/platform/wince')
-rw-r--r-- | backends/platform/wince/wince-sdl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index eeb90fd704..48eca8164e 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -661,7 +661,7 @@ bool OSystem_WINCE3::setSoundCallback(SoundProc proc, void *param) { return false; } else - warning("Sound opened OK, mixing at %d Hz", _sampleRate); + debug(1, "Sound opened OK, mixing at %d Hz", _sampleRate); SDL_PauseAudio(0); return true; } @@ -2097,7 +2097,7 @@ bool OSystem_WINCE3::pollEvent(Common::Event &event) { switch(ev.type) { case SDL_KEYDOWN: // KMOD_RESERVED is used if the key has been injected by an external buffer - // warning("down %X %s", ev.key.keysym.sym, SDL_GetKeyName((SDLKey)ev.key.keysym.sym)); + debug(1, "Key down %X %s", ev.key.keysym.sym, SDL_GetKeyName((SDLKey)ev.key.keysym.sym)); if (ev.key.keysym.mod != KMOD_RESERVED) { keyEvent = true; _lastKeyPressed = ev.key.keysym.sym; @@ -2119,7 +2119,7 @@ bool OSystem_WINCE3::pollEvent(Common::Event &event) { case SDL_KEYUP: // KMOD_RESERVED is used if the key has been injected by an external buffer - // warning("up %X %s", ev.key.keysym.sym, SDL_GetKeyName((SDLKey)ev.key.keysym.sym)); + debug(1, "Key up %X %s", ev.key.keysym.sym, SDL_GetKeyName((SDLKey)ev.key.keysym.sym)); if (ev.key.keysym.mod != KMOD_RESERVED) { keyEvent = true; _lastKeyPressed = 0; @@ -2236,11 +2236,11 @@ bool OSystem_WINCE3::pollEvent(Common::Event &event) { case SDL_ACTIVEEVENT: if (ev.active.state & SDL_APPMOUSEFOCUS) - warning("%s mouse focus.", ev.active.gain ? "Got" : "Lost"); + debug(1, "%s mouse focus.", ev.active.gain ? "Got" : "Lost"); if (ev.active.state & SDL_APPINPUTFOCUS) - warning("%s input focus.", ev.active.gain ? "Got" : "Lost"); + debug(1, "%s input focus.", ev.active.gain ? "Got" : "Lost"); if (ev.active.state & SDL_APPACTIVE) - warning("%s total focus.", ev.active.gain ? "Got" : "Lost"); + debug(1, "%s total focus.", ev.active.gain ? "Got" : "Lost"); if (ev.active.state & SDL_APPINPUTFOCUS) { _hasfocus = ev.active.gain; SDL_PauseAudio(!_hasfocus); |