diff options
author | Max Horn | 2009-05-14 23:10:04 +0000 |
---|---|---|
committer | Max Horn | 2009-05-14 23:10:04 +0000 |
commit | ad1563e5dc06f1120958506eaabde705aaa46e34 (patch) | |
tree | 6e264b93673c1382406cc6b25cf1a68d70bda7b7 /engines/sci/sci.cpp | |
parent | cd063606a079f16ee363bcfdc3abc45fa2cf3eda (diff) | |
download | scummvm-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.cpp | 5 |
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; |