diff options
author | Paul Gilbert | 2009-03-16 09:16:56 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-03-16 09:16:56 +0000 |
commit | 52d6f3323b258470157cdeae37de08c22e784a60 (patch) | |
tree | a925c4e5fa8672e160a8c4ab40d0827c2474e3cf /common | |
parent | 1ac00f210b38b88c689397d733e090583a287529 (diff) | |
download | scummvm-rg350-52d6f3323b258470157cdeae37de08c22e784a60.tar.gz scummvm-rg350-52d6f3323b258470157cdeae37de08c22e784a60.tar.bz2 scummvm-rg350-52d6f3323b258470157cdeae37de08c22e784a60.zip |
Added a syncString variation needed for the Cruise engine
svn-id: r39442
Diffstat (limited to 'common')
-rw-r--r-- | common/serializer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/serializer.h b/common/serializer.h index 24af9dc6f5..3727c277b3 100644 --- a/common/serializer.h +++ b/common/serializer.h @@ -86,6 +86,13 @@ public: } } + /** + * Sync a fixed length C-string + */ + void syncString(char *buf, uint16 size) { + syncBytes((byte *)buf, size); + } + void skip(uint32 size) { _bytesSynced += size; if (_loadStream) |