aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
diff options
context:
space:
mode:
authorMax Horn2009-05-14 23:10:04 +0000
committerMax Horn2009-05-14 23:10:04 +0000
commitad1563e5dc06f1120958506eaabde705aaa46e34 (patch)
tree6e264b93673c1382406cc6b25cf1a68d70bda7b7 /engines/sci/sci.cpp
parentcd063606a079f16ee363bcfdc3abc45fa2cf3eda (diff)
downloadscummvm-rg350-ad1563e5dc06f1120958506eaabde705aaa46e34.tar.gz
scummvm-rg350-ad1563e5dc06f1120958506eaabde705aaa46e34.tar.bz2
scummvm-rg350-ad1563e5dc06f1120958506eaabde705aaa46e34.zip
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 '/'
svn-id: r40579
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r--engines/sci/sci.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 1cbe44cb2e..457ee738e7 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -191,8 +191,9 @@ Common::Error SciEngine::run() {
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;