From 1c69696a9a8878971c4fa925b074498dab757857 Mon Sep 17 00:00:00 2001 From: Lars Persson Date: Tue, 21 Jun 2005 22:08:21 +0000 Subject: Patches needed to build for SYMBIAN32 WINS/GCC added. Test built for Symbian and run on P910i without any major problems. Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA). svn-id: r18430 --- base/gameDetector.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'base/gameDetector.cpp') diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp index 0195c13f14..c38e4c4232 100644 --- a/base/gameDetector.cpp +++ b/base/gameDetector.cpp @@ -48,7 +48,7 @@ #endif // DONT FIXME: DO NOT ORDER ALPHABETICALLY, THIS IS ORDERED BY IMPORTANCE/CATEGORY! :) -#ifdef __PALM_OS__ +#if defined(__PALM_OS__) || defined(__SYMBIAN32__) static const char USAGE_STRING[] = "NoUsageString"; // save more data segment space #else static const char USAGE_STRING[] = @@ -194,7 +194,12 @@ GameDetector::GameDetector() { #endif _dumpScripts = false; + +#if defined(__SYMBIAN32__) + _force1xOverlay = true; +#else _force1xOverlay = false; +#endif memset(&_game, 0, sizeof(_game)); _plugin = 0; @@ -588,15 +593,15 @@ bool GameDetector::detectGame() { realGame = ConfMan.get("gameid"); else realGame = _targetName; - printf("Looking for %s\n", realGame.c_str()); + debug(1, "Looking for %s\n", realGame.c_str()); _game = findGame(realGame, &_plugin); if (_game.name) { - printf("Trying to start game '%s'\n", _game.description); + debug(1, "Trying to start game '%s'\n", _game.description); return true; } else { - printf("Failed game detection\n"); + debug(1, "Failed game detection\n"); return false; } } -- cgit v1.2.3