aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v72he.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-08-29 01:13:47 +0000
committerTravis Howell2009-08-29 01:13:47 +0000
commit19920fece2e164f1685c1f98faf1d3cff604f3ea (patch)
tree34d533dc373c2af6b9f183a88588e021d83cd895 /engines/scumm/he/script_v72he.cpp
parentaf3e23b291a6c0cc9065f3a14328f682772b5ccb (diff)
downloadscummvm-rg350-19920fece2e164f1685c1f98faf1d3cff604f3ea.tar.gz
scummvm-rg350-19920fece2e164f1685c1f98faf1d3cff604f3ea.tar.bz2
scummvm-rg350-19920fece2e164f1685c1f98faf1d3cff604f3ea.zip
Fix the default save game path setting in Macintosh versions of HE72+ games.
svn-id: r43784
Diffstat (limited to 'engines/scumm/he/script_v72he.cpp')
-rw-r--r--engines/scumm/he/script_v72he.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp
index 3dd70a09c9..238eb0388c 100644
--- a/engines/scumm/he/script_v72he.cpp
+++ b/engines/scumm/he/script_v72he.cpp
@@ -1828,7 +1828,10 @@ void ScummEngine_v72he::o72_readINI() {
// in convertFilePath and to avoid warning about invalid
// path in Macintosh verisons.
data = defineArray(0, kStringArray, 0, 0, 0, 2);
- memcpy(data, (const char *)"*\\", 2);
+ if (_game.platform == Common::kPlatformMacintosh)
+ memcpy(data, (const char *)"*:", 2);
+ else
+ memcpy(data, (const char *)"*\\", 2);
} else {
const char *entry = (ConfMan.get((char *)option).c_str());
int len = resStrLen((const byte *)entry);