[Scummvm-cvs-logs] CVS: scummvm/backends/wince wince.cpp,1.20,1.21

Nicolas Bacca arisme at users.sourceforge.net
Thu Sep 18 03:33:09 CEST 2003


Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1:/tmp/cvs-serv17459

Modified Files:
	wince.cpp 
Log Message:
Remove one more hackery - actually a complete port rewrite would be needed to get rid of all of them, I'm thinking about it :)

Index: wince.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/wince.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- wince.cpp	2 Aug 2003 00:36:37 -0000	1.20
+++ wince.cpp	18 Sep 2003 10:24:53 -0000	1.21
@@ -1160,15 +1160,7 @@
 	if (is_bass)
 		mainClass->addEventKeyPressed(63);
 	else
-	if (g_scumm->_version <= 2)
-		mainClass->addEventKeyPressed(5);
-	else
-	if ((g_scumm->_features & GF_OLD256) || (g_scumm->_gameId == GID_CMI) || (g_scumm->_features & GF_16COLOR))
-		//system->addEventKeyPressed(319);
-		mainClass->addEventKeyPressed(319);
-	else
-		//system->addEventKeyPressed(g_scumm->VAR(g_scumm->VAR_SAVELOADDIALOG_KEY));
-		mainClass->addEventKeyPressed(g_scumm->VAR(g_scumm->VAR_SAVELOADDIALOG_KEY));
+		mainClass->addEventKeyPressed(319); // "F5"
 }
 
 void action_quit() {





More information about the Scummvm-git-logs mailing list