diff options
author | Colin Snover | 2017-01-13 21:00:57 -0600 |
---|---|---|
committer | Colin Snover | 2017-01-16 12:16:13 -0600 |
commit | 8859c3ccaea83c747b911203bf2529843c2b0238 (patch) | |
tree | 8ee87ede1b4169a46243983b2fa702586f5b20fc /engines/sci/engine/file.cpp | |
parent | c47634150896f65d0af1432692b69486725d8ce6 (diff) | |
download | scummvm-rg350-8859c3ccaea83c747b911203bf2529843c2b0238.tar.gz scummvm-rg350-8859c3ccaea83c747b911203bf2529843c2b0238.tar.bz2 scummvm-rg350-8859c3ccaea83c747b911203bf2529843c2b0238.zip |
SCI32: Disable compression on Hoyle5 options files
Compression overhead takes up more space than uncompressed files,
plus the uncompressed files it creates are marginally quicker and
easier to debug with external tools.
Diffstat (limited to 'engines/sci/engine/file.cpp')
-rw-r--r-- | engines/sci/engine/file.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/file.cpp b/engines/sci/engine/file.cpp index 75aa4fa2ca..f4bd437d3e 100644 --- a/engines/sci/engine/file.cpp +++ b/engines/sci/engine/file.cpp @@ -201,6 +201,9 @@ reg_t file_open(EngineState *s, const Common::String &filename, kFileOpenMode mo isCompressed = false; break; #ifdef ENABLE_SCI32 + // Hoyle5 has no save games, but creates very simple text-based game options + // files that do not need to be compressed + case GID_HOYLE5: // 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 |