[Scummvm-cvs-logs] SF.net SVN: scummvm: [26815] scummvm/trunk/backends/platform/wince/ wince-sdl.cpp

knakos at users.sourceforge.net knakos at users.sourceforge.net
Sun May 13 00:33:15 CEST 2007


Revision: 26815
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26815&view=rev
Author:   knakos
Date:     2007-05-12 15:33:13 -0700 (Sat, 12 May 2007)

Log Message:
-----------
changed some warnings into debug msgs

Modified Paths:
--------------
    scummvm/trunk/backends/platform/wince/wince-sdl.cpp

Modified: scummvm/trunk/backends/platform/wince/wince-sdl.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/wince-sdl.cpp	2007-05-12 20:00:52 UTC (rev 26814)
+++ scummvm/trunk/backends/platform/wince/wince-sdl.cpp	2007-05-12 22:33:13 UTC (rev 26815)
@@ -661,7 +661,7 @@
 		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 @@
 		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 @@
 
 		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 @@
 		
 		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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list