aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_game_settings.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2014-09-03 17:47:49 +0200
committerEinar Johan Trøan Sømåen2014-09-03 17:47:49 +0200
commit55c8b7a11a262e7bc2cfda87447c0c2c0ecf972b (patch)
tree79be014079c21a2e1112616f8d7559cb1440d673 /engines/wintermute/base/base_game_settings.cpp
parent20d363c78558d46ce6669a1ad924068ad3d6e921 (diff)
downloadscummvm-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.cpp4
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