[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.559,2.560

Max Horn fingolfin at users.sourceforge.net
Sun Jan 25 23:21:40 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11964/scumm

Modified Files:
	scummvm.cpp 
Log Message:
fix OSX COMI cd changing hack

Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.559
retrieving revision 2.560
diff -u -d -r2.559 -r2.560
--- scummvm.cpp	20 Jan 2004 13:44:20 -0000	2.559
+++ scummvm.cpp	24 Jan 2004 18:20:21 -0000	2.560
@@ -2721,7 +2721,7 @@
 
 const char *ScummEngine::getGameDataPath() const {
 #ifdef MACOSX
-	if (_version == 8 && _gameDataPath == "/Volumes/MONKEY3_") {
+	if (_version == 8 && !memcmp(_gameDataPath.c_str(), "/Volumes/MONKEY3_", 17)) {
 		// Special case for COMI on Mac OS X. The mount points on OS X depend
 		// on the volume name. Hence if playing from CD, we'd get a problem.
 		// So if loading of a resource file fails, we fall back to the (fixed)





More information about the Scummvm-git-logs mailing list