SCUMM: fix save file incompatibility between DS and other ports for non FM-TOWNS games
This commit is contained in:
parent
56fd34ed0c
commit
e9e26a75ca
2 changed files with 2 additions and 2 deletions
|
@ -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)),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue