[Scummvm-cvs-logs] CVS: scummvm gameDetector.cpp,1.73,1.74
Max Horn
fingolfin at users.sourceforge.net
Mon Jul 8 14:38:02 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv3583
Modified Files:
gameDetector.cpp
Log Message:
hook in the Mac Carbon port SelectGame method. Still not at all useful; I believe it's better to wait for a portable ScummVM GUI and then use that instead...
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gameDetector.cpp,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- gameDetector.cpp 4 Jul 2002 19:43:58 -0000 1.73
+++ gameDetector.cpp 8 Jul 2002 21:36:59 -0000 1.74
@@ -505,9 +505,13 @@
_midi_driver = MD_AUTO;
-#ifdef __DC__
+#if defined(__DC__)
extern int dc_setup(GameDetector &detector);
dc_setup(*this);
+#elif defined(MACOS_CARBON)
+ extern char* SelectGame();
+ char *game_name = SelectGame();
+ printf(game_name);
#else
_saveconfig = false;
updateconfig();
More information about the Scummvm-git-logs
mailing list