diff options
author | Lars Persson | 2005-06-21 22:08:21 +0000 |
---|---|---|
committer | Lars Persson | 2005-06-21 22:08:21 +0000 |
commit | 1c69696a9a8878971c4fa925b074498dab757857 (patch) | |
tree | d8f4f2cfea1a3e01bb7f5f5c58fb812d8029ca96 /base/gameDetector.cpp | |
parent | 4564f0d3bf0d40f5a2ca125df0682969adc8431c (diff) | |
download | scummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.tar.gz scummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.tar.bz2 scummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.zip |
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
Diffstat (limited to 'base/gameDetector.cpp')
-rw-r--r-- | base/gameDetector.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
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; } } |