[Scummvm-cvs-logs] CVS: scummvm/scumm saveload.cpp,1.249,1.250

Max Horn fingolfin at users.sourceforge.net
Sat Oct 22 16:48:32 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14273

Modified Files:
	saveload.cpp 
Log Message:
V7 savegames actually aren't supported; fix comment

Index: saveload.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/saveload.cpp,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -d -r1.249 -r1.250
--- saveload.cpp	22 Oct 2005 23:42:12 -0000	1.249
+++ saveload.cpp	22 Oct 2005 23:47:39 -0000	1.250
@@ -142,7 +142,7 @@
 	// We account for that by retrying once with swapped byte order.
 	if (hdr.ver > CURRENT_VER)
 		hdr.ver = SWAP_BYTES_32(hdr.ver);
-	if (hdr.ver < VER(7) || hdr.ver > CURRENT_VER)
+	if (hdr.ver < VER(8) || hdr.ver > CURRENT_VER)
 	{
 		warning("Invalid version of '%s'", filename);
 		delete in;
@@ -156,7 +156,7 @@
 		return false;
 	}
 
-	// Since version 52 a thumbnail is saved directly after the header
+	// Since version 52 a thumbnail is saved directly after the header.
 	if (hdr.ver >= VER(52)) {
 		uint32 type;
 		in->read(&type, 4);
@@ -172,7 +172,8 @@
 		in->skip(size - 8);
 	}
 
-	// Since version 56 we have informations about the creation of the save game and the save time here
+	// Since version 56 we save additional information about the creation of
+	// the save game and the save time.
 	if (hdr.ver >= VER(56)) {
 		InfoStuff infos;
 		if (!loadInfos(in, &infos)) {





More information about the Scummvm-git-logs mailing list