aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorathrxx2011-11-01 17:03:33 +0100
committerathrxx2011-11-01 17:04:31 +0100
commit8315d5d2c8939a147419f30d6bcc09afd15af9d3 (patch)
tree5fdba1431cf4547a8912d47d3d8ca5b74665b957 /engines/scumm
parent57ca48d5470eac957c9932c45ad8807d5545b771 (diff)
downloadscummvm-rg350-8315d5d2c8939a147419f30d6bcc09afd15af9d3.tar.gz
scummvm-rg350-8315d5d2c8939a147419f30d6bcc09afd15af9d3.tar.bz2
scummvm-rg350-8315d5d2c8939a147419f30d6bcc09afd15af9d3.zip
SCUMM: fix save file incompatibility between DS and other ports for non FM-TOWNS games
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/saveload.cpp2
-rw-r--r--engines/scumm/saveload.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp
index 3ab13df032..ecf4e4ba33 100644
--- a/engines/scumm/saveload.cpp
+++ b/engines/scumm/saveload.cpp
@@ -1293,7 +1293,7 @@ void ScummEngine::saveOrLoad(Serializer *s) {
#ifndef DISABLE_TOWNS_DUAL_LAYER_MODE
// FM-Towns specific (extra palette data, color cycle data, etc.)
- if (s->getVersion() >= VER(82)) {
+ if (_game.platform == Common::kPlatformFMTowns && s->getVersion() >= VER(87) || (s->getVersion() >= VER(82) && s->getVersion() < VER(87))) {
const SaveLoadEntry townsFields[] = {
MKLINE(Common::Rect, left, sleInt16, VER(82)),
MKLINE(Common::Rect, top, sleInt16, VER(82)),
diff --git a/engines/scumm/saveload.h b/engines/scumm/saveload.h
index 16c225d20e..d55ec2d047 100644
--- a/engines/scumm/saveload.h
+++ b/engines/scumm/saveload.h
@@ -47,7 +47,7 @@ namespace Scumm {
* only saves/loads those which are valid for the version of the savegame
* which is being loaded/saved currently.
*/
-#define CURRENT_VER 86
+#define CURRENT_VER 87
/**
* An auxillary macro, used to specify savegame versions. We use this instead