diff options
author | Mutwin Kraus | 2002-03-08 17:05:09 +0000 |
---|---|---|
committer | Mutwin Kraus | 2002-03-08 17:05:09 +0000 |
commit | 8b17d132dba00ce3ec3490f265fba4c9d28264e7 (patch) | |
tree | 0029bbdd58fcb619d015018d08039d7f4ecb77f0 /saveload.cpp | |
parent | 07bfd66c12fb6e4502f4ee7f6fc5d5416cda4d67 (diff) | |
download | scummvm-rg350-8b17d132dba00ce3ec3490f265fba4c9d28264e7.tar.gz scummvm-rg350-8b17d132dba00ce3ec3490f265fba4c9d28264e7.tar.bz2 scummvm-rg350-8b17d132dba00ce3ec3490f265fba4c9d28264e7.zip |
Some changes, need to be done to get the Mac Port running. For example Point is now called ScummPoint, as the name Point is already in use by Apple.
svn-id: r3687
Diffstat (limited to 'saveload.cpp')
-rw-r--r-- | saveload.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/saveload.cpp b/saveload.cpp index ea8afd5073..b28c5a29bf 100644 --- a/saveload.cpp +++ b/saveload.cpp @@ -144,8 +144,12 @@ bool Scumm::loadState(int slot, bool compat) { } void Scumm::makeSavegameName(char *out, int slot, bool compatible) { + #if !defined(__APPLE__CW) const char *dir = getenv("SCUMMVM_SAVEPATH"); if (dir==NULL) dir=""; + #else + const char *dir = ""; + #endif /* snprintf should be used here, but it's not portable enough */ sprintf(out, "%s%s.%c%.2d", dir, _exe_name, compatible ? 'c': 's', slot); } |