diff options
author | Littleboy | 2012-08-01 00:13:39 -0400 |
---|---|---|
committer | Littleboy | 2012-08-01 02:39:51 -0400 |
commit | eb6c60cec034a7758b8d25e29f501b10fc06c1a4 (patch) | |
tree | 6d14fdd1455072d6e92cd890113ac6375522c358 /engines/lastexpress/game/savegame.h | |
parent | 11cf6145cbfa67ea05b351e439a0260b0e300f05 (diff) | |
download | scummvm-rg350-eb6c60cec034a7758b8d25e29f501b10fc06c1a4.tar.gz scummvm-rg350-eb6c60cec034a7758b8d25e29f501b10fc06c1a4.tar.bz2 scummvm-rg350-eb6c60cec034a7758b8d25e29f501b10fc06c1a4.zip |
LASTEXPRESS: Implement savegame read compression
Diffstat (limited to 'engines/lastexpress/game/savegame.h')
-rw-r--r-- | engines/lastexpress/game/savegame.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lastexpress/game/savegame.h b/engines/lastexpress/game/savegame.h index 8866fd330d..8656b2ee86 100644 --- a/engines/lastexpress/game/savegame.h +++ b/engines/lastexpress/game/savegame.h @@ -124,7 +124,8 @@ private: uint32 writeCompressed(const void *dataPtr, uint32 dataSize); uint32 readCompressed(void *dataPtr, uint32 dataSize); - void writeBuffer(uint8 value, bool onlyValue); + void writeBuffer(uint8 value, bool onlyValue = true); + uint8 readBuffer(); private: bool _eos; |