[Scummvm-cvs-logs] CVS: scummvm/backends/wince wince-sdl.cpp,1.5,1.6
Nicolas Bacca
arisme at users.sourceforge.net
Tue Feb 24 14:21:04 CET 2004
Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3672
Modified Files:
wince-sdl.cpp
Log Message:
Fix monkey detection
Index: wince-sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/wince-sdl.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- wince-sdl.cpp 20 Feb 2004 23:05:00 -0000 1.5
+++ wince-sdl.cpp 24 Feb 2004 22:06:21 -0000 1.6
@@ -315,8 +315,7 @@
_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);
}
More information about the Scummvm-git-logs
mailing list