aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-07 19:07:25 -0400
committerPaul Gilbert2017-08-07 19:07:25 -0400
commit9a0f1adcb7e6682aea7edc56751998db54b25e8a (patch)
treeae8ccb078d915612ae21524f8840a206e2e8b9be
parent4ab18d2d00e2c0cbbd1ec922c774244ec2f66fd9 (diff)
downloadscummvm-rg350-9a0f1adcb7e6682aea7edc56751998db54b25e8a.tar.gz
scummvm-rg350-9a0f1adcb7e6682aea7edc56751998db54b25e8a.tar.bz2
scummvm-rg350-9a0f1adcb7e6682aea7edc56751998db54b25e8a.zip
COMMON: Add a setVersion method to Common::Serializer
-rw-r--r--common/serializer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/serializer.h b/common/serializer.h
index ef8fca9906..2def17cfbd 100644
--- a/common/serializer.h
+++ b/common/serializer.h
@@ -144,6 +144,10 @@ public:
*/
Version getVersion() const { return _version; }
+ /**
+ * Manually set the version
+ */
+ void setVersion(Version version) { _version = version; }
/**
* Return the total number of bytes synced so far.