[Scummvm-cvs-logs] scummvm master -> d683a228a3c3216ac262d6d026ea350c80b88520

fingolfin max at quendi.de
Tue May 3 23:06:31 CEST 2011


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5efb1e5596 DINGUX: Change fprintf calls to debug calls
d683a228a3 MOTO: Change fprintf calls to debug calls


Commit: 5efb1e559692469ed27a2e386c54d2b380b481f4
    https://github.com/scummvm/scummvm/commit/5efb1e559692469ed27a2e386c54d2b380b481f4
Author: Max Horn (max at quendi.de)
Date: 2011-05-03T14:04:40-07:00

Commit Message:
DINGUX: Change fprintf calls to debug calls

Changed paths:
    backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp



diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
index b50c3a7..4e2aee3 100644
--- a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
+++ b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
@@ -438,14 +438,14 @@ bool DINGUXSdlGraphicsManager::loadGFXMode() {
 		_videoMode.aspectRatioCorrection = false;
 	}
 
-	fprintf(stdout, "Game ScreenMode = %d*%d\n", _videoMode.screenWidth, _videoMode.screenHeight);
+	debug("Game ScreenMode = %d*%d", _videoMode.screenWidth, _videoMode.screenHeight);
 	if (_videoMode.screenWidth > 320 || _videoMode.screenHeight > 240) {
 		_videoMode.aspectRatioCorrection = false;
 		setGraphicsMode(GFX_HALF);
-		fprintf(stdout, "GraphicsMode set to HALF\n");
+		debug("GraphicsMode set to HALF");
 	} else {
 		setGraphicsMode(GFX_NORMAL);
-		fprintf(stdout, "GraphicsMode set to NORMAL\n");
+		debug("GraphicsMode set to NORMAL");
 	}
 
 	if ((_videoMode.mode == GFX_HALF) && !_overlayVisible) {


Commit: d683a228a3c3216ac262d6d026ea350c80b88520
    https://github.com/scummvm/scummvm/commit/d683a228a3c3216ac262d6d026ea350c80b88520
Author: Max Horn (max at quendi.de)
Date: 2011-05-03T14:04:58-07:00

Commit Message:
MOTO: Change fprintf calls to debug calls

Changed paths:
    backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp



diff --git a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp
index ebfd471..7d1809f 100644
--- a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp
+++ b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp
@@ -144,14 +144,14 @@ void LinuxmotoSdlGraphicsManager::initSize(uint w, uint h) {
 }
 
 bool LinuxmotoSdlGraphicsManager::loadGFXMode() {
-	printf("Game ScreenMode = %d*%d\n",_videoMode.screenWidth, _videoMode.screenHeight);
+	debug("Game ScreenMode = %d*%d",_videoMode.screenWidth, _videoMode.screenHeight);
 	if (_videoMode.screenWidth > 320 || _videoMode.screenHeight > 240) {
 		_videoMode.aspectRatioCorrection = false;
 		setGraphicsMode(GFX_HALF);
-		printf("GraphicsMode set to HALF\n");
+		debug("GraphicsMode set to HALF");
 	} else {
 		setGraphicsMode(GFX_NORMAL);
-		printf("GraphicsMode set to NORMAL\n");
+		debug("GraphicsMode set to NORMAL");
 	}
 	if (_videoMode.mode == GFX_HALF && !_overlayVisible) {
 		_videoMode.overlayWidth = 320;






More information about the Scummvm-git-logs mailing list