[Scummvm-cvs-logs] SF.net SVN: scummvm:[39442] scummvm/trunk/common/serializer.h
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Mon Mar 16 10:16:56 CET 2009
Revision: 39442
http://scummvm.svn.sourceforge.net/scummvm/?rev=39442&view=rev
Author: dreammaster
Date: 2009-03-16 09:16:56 +0000 (Mon, 16 Mar 2009)
Log Message:
-----------
Added a syncString variation needed for the Cruise engine
Modified Paths:
--------------
scummvm/trunk/common/serializer.h
Modified: scummvm/trunk/common/serializer.h
===================================================================
--- scummvm/trunk/common/serializer.h 2009-03-16 09:11:51 UTC (rev 39441)
+++ scummvm/trunk/common/serializer.h 2009-03-16 09:16:56 UTC (rev 39442)
@@ -86,6 +86,13 @@
}
}
+ /**
+ * Sync a fixed length C-string
+ */
+ void syncString(char *buf, uint16 size) {
+ syncBytes((byte *)buf, size);
+ }
+
void skip(uint32 size) {
_bytesSynced += size;
if (_loadStream)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list