aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.cpp
diff options
context:
space:
mode:
authorMax Horn2009-09-22 00:36:05 +0000
committerMax Horn2009-09-22 00:36:05 +0000
commit97d1f79e2d0c23dc337e85888ffa67aca98f7358 (patch)
treec5712062e885c780f4e8fca2035ccdffba18e462 /engines/sci/engine/savegame.cpp
parent5fc2428c99b6ea05f45e3c3cd655ce3010ee6aa8 (diff)
downloadscummvm-rg350-97d1f79e2d0c23dc337e85888ffa67aca98f7358.tar.gz
scummvm-rg350-97d1f79e2d0c23dc337e85888ffa67aca98f7358.tar.bz2
scummvm-rg350-97d1f79e2d0c23dc337e85888ffa67aca98f7358.zip
SCI: Change SystemString::name from char* to Common::String
svn-id: r44243
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r--engines/sci/engine/savegame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 03f249c20a..c779e32fa9 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -437,7 +437,7 @@ void Script::saveLoadWithSerializer(Common::Serializer &s) {
}
static void sync_SystemString(Common::Serializer &s, SystemString &obj) {
- syncCStr(s, &obj.name);
+ s.syncString(obj._name);
s.syncAsSint32LE(obj.max_size);
// FIXME: This is a *WEIRD* hack: We sync a reg_t* as if it was a string.