diff options
author | Filippos Karapetis | 2012-05-21 21:21:48 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-06-21 10:48:03 +0300 |
commit | e10e412bba99090b67a99cd7fddd5405172452f1 (patch) | |
tree | f6883df79a535de2748e0fa990740017b24a8e93 /common/savefile.h | |
parent | 82a553a12c033489939c031bb104e37e77ee0797 (diff) | |
download | scummvm-rg350-e10e412bba99090b67a99cd7fddd5405172452f1.tar.gz scummvm-rg350-e10e412bba99090b67a99cd7fddd5405172452f1.tar.bz2 scummvm-rg350-e10e412bba99090b67a99cd7fddd5405172452f1.zip |
COMMON: Allow the savefile manager to create uncompressed saves
These are useful in cases where the files can be used in the original
interpreters (such as the exported characters from QFG), in order to avoid
confusion in cases where the users are unaware that these saves are
compressed and are trying to load them in the original interpreters.
Diffstat (limited to 'common/savefile.h')
-rw-r--r-- | common/savefile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/savefile.h b/common/savefile.h index 03a7b52add..3aa0f423e3 100644 --- a/common/savefile.h +++ b/common/savefile.h @@ -108,7 +108,7 @@ public: * @param name the name of the savefile * @return pointer to an OutSaveFile, or NULL if an error occurred. */ - virtual OutSaveFile *openForSaving(const String &name) = 0; + virtual OutSaveFile *openForSaving(const String &name, bool compress = true) = 0; /** * Open the file with the specified name in the given directory for loading. |