SCI32: Disable compression for Phantasmagoria save files
This commit is contained in:
parent
126378fa26
commit
b895b4b075
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue