[Scummvm-cvs-logs] SF.net SVN: scummvm:[43791] scummvm/trunk/engines/scumm/he/script_v72he.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sat Aug 29 09:40:49 CEST 2009


Revision: 43791
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43791&view=rev
Author:   Kirben
Date:     2009-08-29 07:40:48 +0000 (Sat, 29 Aug 2009)

Log Message:
-----------
Fix the default save game path setting in HE98+ games.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/he/script_v72he.cpp

Modified: scummvm/trunk/engines/scumm/he/script_v72he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v72he.cpp	2009-08-29 07:32:38 UTC (rev 43790)
+++ scummvm/trunk/engines/scumm/he/script_v72he.cpp	2009-08-29 07:40:48 UTC (rev 43791)
@@ -1823,7 +1823,7 @@
 			int len = resStrLen((const byte *)fileName.c_str());
 			data = defineArray(0, kStringArray, 0, 0, 0, len);
 			memcpy(data, fileName.c_str(), len);
-		} else if (!strcmp((char *)option, "SaveGamePath")) {
+		} else if (!strcmp((char *)option, "GameResourcePath") || !strcmp((char *)option, "SaveGamePath")) {
 			// We set SaveGamePath in order to detect where it used
 			// in convertFilePath and to avoid warning about invalid
 			// path in Macintosh verisons.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list