diff options
Diffstat (limited to 'engines/scumm/he')
-rw-r--r-- | engines/scumm/he/script_v60he.cpp | 5 | ||||
-rw-r--r-- | engines/scumm/he/script_v72he.cpp | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/engines/scumm/he/script_v60he.cpp b/engines/scumm/he/script_v60he.cpp index 4c01d3b15c..0048160980 100644 --- a/engines/scumm/he/script_v60he.cpp +++ b/engines/scumm/he/script_v60he.cpp @@ -131,9 +131,12 @@ int ScummEngine_v60he::convertFilePath(byte *dst, int dstSize) { r = 2; } else if (dst[2] == 'b' && dst[5] == 'k') { // Backyard Basketball INI r = 13; - } else if (dst[0] == '*' && dst[1] == '/') { // Save Game Path (HE72 - HE100) + } else if (dst[0] == '*' && dst[1] == '/') { // Save Game Path (Windows HE72 - HE100) // The default save game path is set to '*/' by ScummVM r = 2; + } else if (dst[0] == '*' && dst[1] == ':') { // Save Game Path (Macintosh HE72 - HE100) + // The default save game path is set to ':/' by ScummVM + r = 2; } else if (dst[0] == 'c' && dst[1] == ':') { // Save Game Path (HE60 - HE71) // The default save path is game path (DOS) or 'c:/hegames/' (Windows) for (r = len; r != 0; r--) { 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); |