aboutsummaryrefslogtreecommitdiff
path: root/backends/wince/wince.cpp
diff options
context:
space:
mode:
authorMax Horn2003-10-28 17:07:25 +0000
committerMax Horn2003-10-28 17:07:25 +0000
commit53db0a8a073784260f3160b5d3cfa38f2de254b3 (patch)
tree957853c0da5c36dff7112b8cc8db718b5e8ea33f /backends/wince/wince.cpp
parent0ba347414dfbbf807b534e2c0f2d2320af4a5358 (diff)
downloadscummvm-rg350-53db0a8a073784260f3160b5d3cfa38f2de254b3.tar.gz
scummvm-rg350-53db0a8a073784260f3160b5d3cfa38f2de254b3.tar.bz2
scummvm-rg350-53db0a8a073784260f3160b5d3cfa38f2de254b3.zip
cleanup: removed version/id from GameSettings
svn-id: r10995
Diffstat (limited to 'backends/wince/wince.cpp')
-rw-r--r--backends/wince/wince.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/wince/wince.cpp b/backends/wince/wince.cpp
index 86e3ec8043..f254763222 100644
--- a/backends/wince/wince.cpp
+++ b/backends/wince/wince.cpp
@@ -856,10 +856,10 @@ void runGame(char *game_name) {
/* Start the engine */
- is_simon = (detector._game.id >= GID_SIMON_FIRST && detector._game.id <= GID_SIMON_LAST);
- is_bass = (detector._game.id >= GID_SKY_FIRST && detector._game.id <= GID_SKY_LAST);
+ is_simon = (strcmp(detector._plugin.getName(), "simon") == 0);
+ is_bass = (strcmp(detector._plugin.getName(), "sky") == 0);
- if (smartphone || detector._game.id == GID_SAMNMAX || detector._game.id == GID_FT || detector._game.id == GID_DIG || detector._game.id == GID_CMI)
+ if (smartphone || strcmp(game_name, "samnmax") == 0 || strcmp(game_name, "dig") == 0 || strcmp(game_name, "ft") == 0 || strcmp(game_name, "comi") == 0)
hide_cursor = FALSE;
else
hide_cursor = TRUE;