diff options
author | Paul Gilbert | 2017-08-07 19:07:25 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-07 19:07:25 -0400 |
commit | 9a0f1adcb7e6682aea7edc56751998db54b25e8a (patch) | |
tree | ae8ccb078d915612ae21524f8840a206e2e8b9be /common | |
parent | 4ab18d2d00e2c0cbbd1ec922c774244ec2f66fd9 (diff) | |
download | scummvm-rg350-9a0f1adcb7e6682aea7edc56751998db54b25e8a.tar.gz scummvm-rg350-9a0f1adcb7e6682aea7edc56751998db54b25e8a.tar.bz2 scummvm-rg350-9a0f1adcb7e6682aea7edc56751998db54b25e8a.zip |
COMMON: Add a setVersion method to Common::Serializer
Diffstat (limited to 'common')
-rw-r--r-- | common/serializer.h | 4 |
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. |