[Scummvm-cvs-logs] SF.net SVN: scummvm:[40579] scummvm/trunk/engines/sci/sci.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Fri May 15 01:10:04 CEST 2009
Revision: 40579
http://scummvm.svn.sourceforge.net/scummvm/?rev=40579&view=rev
Author: fingolfin
Date: 2009-05-14 23:10:04 +0000 (Thu, 14 May 2009)
Log Message:
-----------
SCI: Stop SCI1.1 games from complaining about an 'invalid' savedir by setting the savedir string to the only value our kValidPath considers valid, namely '/'
Modified Paths:
--------------
scummvm/trunk/engines/sci/sci.cpp
Modified: scummvm/trunk/engines/sci/sci.cpp
===================================================================
--- scummvm/trunk/engines/sci/sci.cpp 2009-05-14 23:09:30 UTC (rev 40578)
+++ scummvm/trunk/engines/sci/sci.cpp 2009-05-14 23:10:04 UTC (rev 40579)
@@ -191,8 +191,9 @@
return Common::kUnknownError;
}
- // Set the savegame dir
- script_set_gamestate_save_dir(gamestate, ConfMan.get("savepath").c_str());
+ // Set the savegame dir (actually, we set it to a fake value,
+ // since we cannot let the game control where saves are stored)
+ script_set_gamestate_save_dir(gamestate, "/");
gfx_crossblit_alpha_threshold = 0x90;
GfxState gfx_state;
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