aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2005-10-22 23:47:39 +0000
committerMax Horn2005-10-22 23:47:39 +0000
commit117192363ce2ef458f0a234100aaf2b979c4a1a3 (patch)
tree936214e744c71b2184881f1c9588dee6ce928bb2 /scumm
parent899eb271c6ade38b4fe4ebe82131591124e9f68e (diff)
downloadscummvm-rg350-117192363ce2ef458f0a234100aaf2b979c4a1a3.tar.gz
scummvm-rg350-117192363ce2ef458f0a234100aaf2b979c4a1a3.tar.bz2
scummvm-rg350-117192363ce2ef458f0a234100aaf2b979c4a1a3.zip
V7 savegames actually aren't supported; fix comment
svn-id: r19247
Diffstat (limited to 'scumm')
-rw-r--r--scumm/saveload.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp
index f41576aa26..032013efd0 100644
--- a/scumm/saveload.cpp
+++ b/scumm/saveload.cpp
@@ -142,7 +142,7 @@ bool ScummEngine::loadState(int slot, bool compat) {
// 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 @@ bool ScummEngine::loadState(int slot, bool compat) {
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 @@ bool ScummEngine::loadState(int slot, bool compat) {
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)) {