diff options
author | Nicolas Bacca | 2004-02-24 22:06:21 +0000 |
---|---|---|
committer | Nicolas Bacca | 2004-02-24 22:06:21 +0000 |
commit | 3ed154f80f46feff71c2f485e2ba29c0040256e7 (patch) | |
tree | 09a8c791343c4df5c84072324d2b77d6039aa7fd | |
parent | fc8c15dc20ba81c99527c550a2c8ae03003c49b5 (diff) | |
download | scummvm-rg350-3ed154f80f46feff71c2f485e2ba29c0040256e7.tar.gz scummvm-rg350-3ed154f80f46feff71c2f485e2ba29c0040256e7.tar.bz2 scummvm-rg350-3ed154f80f46feff71c2f485e2ba29c0040256e7.zip |
Fix monkey detection
svn-id: r13033
-rw-r--r-- | backends/wince/wince-sdl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/wince/wince-sdl.cpp b/backends/wince/wince-sdl.cpp index 359dcbc4a1..58227d78b1 100644 --- a/backends/wince/wince-sdl.cpp +++ b/backends/wince/wince-sdl.cpp @@ -315,8 +315,7 @@ void OSystem_WINCE3::update_game_settings() { _toolbarHandler.setActive(NAME_MAIN_PANEL); // Keyboard is active for Monkey 1 or 2 - if (_gameDetector._targetName == "monkey2" || _gameDetector._targetName == "monkeyvga" || - _gameDetector._targetName == "monkeyega") { + if (strncmp(_gameDetector._targetName.c_str(), "monkey", 6) == 0) { _monkeyKeyboard = true; _toolbarHandler.setActive(NAME_PANEL_KEYBOARD); } |