[Scummvm-cvs-logs] CVS: scummvm/backends/wince wince-sdl.cpp,1.4.2.1,1.4.2.2

Nicolas Bacca arisme at users.sourceforge.net
Tue Feb 24 14:20:04 CET 2004


Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3240

Modified Files:
      Tag: branch-0-6-0
	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.4.2.1
retrieving revision 1.4.2.2
diff -u -d -r1.4.2.1 -r1.4.2.2
--- wince-sdl.cpp	20 Feb 2004 23:05:50 -0000	1.4.2.1
+++ wince-sdl.cpp	24 Feb 2004 22:04:37 -0000	1.4.2.2
@@ -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