diff options
Diffstat (limited to 'backends/graphics/gph/gph-graphics.cpp')
| -rw-r--r-- | backends/graphics/gph/gph-graphics.cpp | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/backends/graphics/gph/gph-graphics.cpp b/backends/graphics/gph/gph-graphics.cpp index 2f971f8da1..b407bf1faf 100644 --- a/backends/graphics/gph/gph-graphics.cpp +++ b/backends/graphics/gph/gph-graphics.cpp @@ -22,12 +22,13 @@  #include "common/scummsys.h" -#if defined(GP2XWIZ) || defined(CAANOO) +#if defined(GPH_DEVICE)  #include "backends/graphics/gph/gph-graphics.h"  #include "backends/events/gph/gph-events.h"  #include "graphics/scaler/aspect.h"  #include "common/mutex.h" +#include "common/textconsole.h"  static const OSystem::GraphicsMode s_supportedGraphicsModes[] = {  	{"1x", "Standard", GFX_NORMAL}, @@ -444,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) {  | 
