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
This commit is contained in:
parent
07bfd66c12
commit
8b17d132db
8 changed files with 77 additions and 20 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue