[Scummvm-cvs-logs] scummvm master -> 73396954c90cc113284417d9d27b20290b3b80bb
fingolfin
max at quendi.de
Tue May 3 14:36:19 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
73396954c9 GPH: Change fprintf to debug
Commit: 73396954c90cc113284417d9d27b20290b3b80bb
https://github.com/scummvm/scummvm/commit/73396954c90cc113284417d9d27b20290b3b80bb
Author: Max Horn (max at quendi.de)
Date: 2011-05-03T05:34:59-07:00
Commit Message:
GPH: Change fprintf to debug
Changed paths:
backends/graphics/gph/gph-graphics.cpp
diff --git a/backends/graphics/gph/gph-graphics.cpp b/backends/graphics/gph/gph-graphics.cpp
index 6d23777..b407bf1 100644
--- a/backends/graphics/gph/gph-graphics.cpp
+++ b/backends/graphics/gph/gph-graphics.cpp
@@ -445,14 +445,14 @@ bool GPHGraphicsManager::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) {
More information about the Scummvm-git-logs
mailing list