Skip to content

Commit

Permalink
SCUMM: fix save file incompatibility between DS and other ports for n…
Browse files Browse the repository at this point in the history
…on FM-TOWNS games
  • Loading branch information
athrxx committed Nov 1, 2011
1 parent 56fd34e commit e9e26a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engines/scumm/saveload.cpp
Expand Up @@ -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)),
Expand Down
2 changes: 1 addition & 1 deletion engines/scumm/saveload.h
Expand Up @@ -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
Expand Down

0 comments on commit e9e26a7

Please sign in to comment.