From b895b4b075ee8b9ca327c027b620db3ea8059e8d Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Mon, 9 Jan 2017 14:07:02 -0600 Subject: SCI32: Disable compression for Phantasmagoria save files --- engines/sci/engine/file.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/engines/sci/engine/file.cpp b/engines/sci/engine/file.cpp index da1d00f3bf..75aa4fa2ca 100644 --- a/engines/sci/engine/file.cpp +++ b/engines/sci/engine/file.cpp @@ -200,6 +200,15 @@ reg_t file_open(EngineState *s, const Common::String &filename, kFileOpenMode mo if (s->currentRoomNumber() == 52) isCompressed = false; break; +#ifdef ENABLE_SCI32 + // Phantasmagoria game scripts create their own save files, so they are + // interoperable with the original interpreter just by renaming them as long + // as they are not compressed. They are also never larger than a couple + // hundred bytes, so compression does not do much here anyway + case GID_PHANTASMAGORIA: + isCompressed = false; + break; +#endif default: break; } -- cgit v1.2.3