[Scummvm-cvs-logs] CVS: scummvm/dc selector.cpp,1.5,1.6

Marcus Comstedt marcus_c at users.sourceforge.net
Mon Feb 18 11:56:04 CET 2002


Update of /cvsroot/scummvm/scummvm/dc
In directory usw-pr-cvs1:/tmp/cvs-serv28697

Modified Files:
	selector.cpp 
Log Message:
Recognize Zak256.

Index: selector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/dc/selector.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** selector.cpp	3 Feb 2002 14:56:11 -0000	1.5
--- selector.cpp	18 Feb 2002 19:55:37 -0000	1.6
***************
*** 152,155 ****
--- 152,159 ----
      return true;
    }
+   if(!strcasecmp(fn, "ZAK.EXP")) {
+     strcpy(base, "ZAK256");
+     return true;
+   }
    return false;
  }
***************
*** 405,409 ****
  
    for(;;) {
- 
      num_games = findGames(s, games, MAX_GAMES);
  
--- 409,412 ----
***************
*** 434,438 ****
--- 437,445 ----
  
    if(selected>=0) {
+ #if 1
      chdir(the_game.dir);
+ #else
+     chdir("/");
+ #endif
      ret = the_game.filename_base;
      icon = the_game.icon;





More information about the Scummvm-git-logs mailing list