diff options
| author | athrxx | 2011-11-01 17:36:50 +0100 |
|---|---|---|
| committer | athrxx | 2011-11-01 17:38:49 +0100 |
| commit | de5d3fc8e1faa5425b6c39831acd41571877d671 (patch) | |
| tree | 746a41b9af80e50d75bc8ec8d2086a4de8ccdec9 | |
| parent | 8315d5d2c8939a147419f30d6bcc09afd15af9d3 (diff) | |
| download | scummvm-rg350-de5d3fc8e1faa5425b6c39831acd41571877d671.tar.gz scummvm-rg350-de5d3fc8e1faa5425b6c39831acd41571877d671.tar.bz2 scummvm-rg350-de5d3fc8e1faa5425b6c39831acd41571877d671.zip | |
SCUMM: add comment to last commit
| -rw-r--r-- | engines/scumm/saveload.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp index ecf4e4ba33..609f3f535e 100644 --- a/engines/scumm/saveload.cpp +++ b/engines/scumm/saveload.cpp @@ -1293,7 +1293,10 @@ void ScummEngine::saveOrLoad(Serializer *s) { #ifndef DISABLE_TOWNS_DUAL_LAYER_MODE // FM-Towns specific (extra palette data, color cycle data, etc.) - if (_game.platform == Common::kPlatformFMTowns && s->getVersion() >= VER(87) || (s->getVersion() >= VER(82) && s->getVersion() < VER(87))) { + // In earlier save game versions (below 87) the FM-Towns specific data would get saved (and loaded) even in non FM-Towns games. + // This would cause an unnecessary save file incompatibility between DS (which uses the DISABLE_TOWNS_DUAL_LAYER_MODE setting) + // and other ports. + 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)), |
