diff options
author | Einar Johan Trøan Sømåen | 2014-09-03 17:47:49 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2014-09-03 17:47:49 +0200 |
commit | 55c8b7a11a262e7bc2cfda87447c0c2c0ecf972b (patch) | |
tree | 79be014079c21a2e1112616f8d7559cb1440d673 /engines/wintermute/base/base_game_settings.cpp | |
parent | 20d363c78558d46ce6669a1ad924068ad3d6e921 (diff) | |
download | scummvm-rg350-55c8b7a11a262e7bc2cfda87447c0c2c0ecf972b.tar.gz scummvm-rg350-55c8b7a11a262e7bc2cfda87447c0c2c0ecf972b.tar.bz2 scummvm-rg350-55c8b7a11a262e7bc2cfda87447c0c2c0ecf972b.zip |
WINTERMUTE: Save the names of any language files that are loaded. (Fix bug #6651)
This way, they will be reloaded in the same order when loading a save game. Old save games will
continue to show the bug, but new savegames will be consistent. A quick fix for old save games in
the white chamber, is to launch the game with the correct language BEFORE loading the save game.
This increases the save-game-version to 1.3.1ScummVM
Diffstat (limited to 'engines/wintermute/base/base_game_settings.cpp')
-rw-r--r-- | engines/wintermute/base/base_game_settings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/wintermute/base/base_game_settings.cpp b/engines/wintermute/base/base_game_settings.cpp index 3b54384cc7..61c5894be3 100644 --- a/engines/wintermute/base/base_game_settings.cpp +++ b/engines/wintermute/base/base_game_settings.cpp @@ -219,4 +219,8 @@ char *BaseGameSettings::getKeyFromStringTable(const char *str) const { return _stringTable->getKey(str); } +bool BaseGameSettings::persist(BasePersistenceManager *persistMgr) { + return _stringTable->persist(persistMgr); +} + } // End of namespace Wintermute |