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
This commit is contained in:
James Brown 2002-10-28 09:03:02 +00:00
parent 2e027179e0
commit 959a9acf14
9 changed files with 63 additions and 17 deletions

View file

@ -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)