aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2009-08-29 07:40:48 +0000
committerTravis Howell2009-08-29 07:40:48 +0000
commit0ae1d719dbf5316b161430ffe2d0e8a1dd1a52d3 (patch)
tree5c2145afee1e1160622486dc0c528f17006e32de /engines/scumm
parentea8ff6624e102be064b739bcc20153171fde27c9 (diff)
downloadscummvm-rg350-0ae1d719dbf5316b161430ffe2d0e8a1dd1a52d3.tar.gz
scummvm-rg350-0ae1d719dbf5316b161430ffe2d0e8a1dd1a52d3.tar.bz2
scummvm-rg350-0ae1d719dbf5316b161430ffe2d0e8a1dd1a52d3.zip
Fix the default save game path setting in HE98+ games.
svn-id: r43791
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/script_v72he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp
index 238eb0388c..aa25313c54 100644
--- a/engines/scumm/he/script_v72he.cpp
+++ b/engines/scumm/he/script_v72he.cpp
@@ -1823,7 +1823,7 @@ void ScummEngine_v72he::o72_readINI() {
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.