diff options
author | James Brown | 2002-10-28 09:03:02 +0000 |
---|---|---|
committer | James Brown | 2002-10-28 09:03:02 +0000 |
commit | 959a9acf1456f2b39a3b8a20779c71a2637754d2 (patch) | |
tree | d9bf3ded96371a8e958d17ce772a8b5b831aa067 /scumm/saveload.cpp | |
parent | 2e027179e030600a58ee84cd52780b201f817232 (diff) | |
download | scummvm-rg350-959a9acf1456f2b39a3b8a20779c71a2637754d2.tar.gz scummvm-rg350-959a9acf1456f2b39a3b8a20779c71a2637754d2.tar.bz2 scummvm-rg350-959a9acf1456f2b39a3b8a20779c71a2637754d2.zip |
Add support for aliased scummvm config entries.
Eg:
[germandott]
path=/games/german/dott
gameid=tentacle
description=the german version of DOTT
I havn't finished the Launcher changes to show aliased entries yet, as I need to parse the whole domainmap to do so.
svn-id: r5341
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r-- | scumm/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp index 228bc09b07..eb3bb70eb6 100644 --- a/scumm/saveload.cpp +++ b/scumm/saveload.cpp @@ -181,7 +181,7 @@ void Scumm::makeSavegameName(char *out, int slot, bool compatible) const char *dir = getSavePath(); // snprintf should be used here, but it's not portable enough - sprintf(out, "%s%s.%c%.2d", dir, _exe_name, compatible ? 'c' : 's', slot); + sprintf(out, "%s%s.%c%.2d", dir, _game_name, compatible ? 'c' : 's', slot); } bool Scumm::getSavegameName(int slot, char *desc) |