mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 03:24:50 +00:00
V7 savegames actually aren't supported; fix comment
svn-id: r19247
This commit is contained in:
parent
899eb271c6
commit
117192363c
@ -142,7 +142,7 @@ bool ScummEngine::loadState(int slot, bool compat) {
|
|||||||
// We account for that by retrying once with swapped byte order.
|
// We account for that by retrying once with swapped byte order.
|
||||||
if (hdr.ver > CURRENT_VER)
|
if (hdr.ver > CURRENT_VER)
|
||||||
hdr.ver = SWAP_BYTES_32(hdr.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);
|
warning("Invalid version of '%s'", filename);
|
||||||
delete in;
|
delete in;
|
||||||
@ -156,7 +156,7 @@ bool ScummEngine::loadState(int slot, bool compat) {
|
|||||||
return false;
|
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)) {
|
if (hdr.ver >= VER(52)) {
|
||||||
uint32 type;
|
uint32 type;
|
||||||
in->read(&type, 4);
|
in->read(&type, 4);
|
||||||
@ -172,7 +172,8 @@ bool ScummEngine::loadState(int slot, bool compat) {
|
|||||||
in->skip(size - 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)) {
|
if (hdr.ver >= VER(56)) {
|
||||||
InfoStuff infos;
|
InfoStuff infos;
|
||||||
if (!loadInfos(in, &infos)) {
|
if (!loadInfos(in, &infos)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user