diff options
author | Evgeny Grechnikov | 2018-10-20 16:35:23 +0300 |
---|---|---|
committer | Evgeny Grechnikov | 2018-10-20 16:35:23 +0300 |
commit | af580eaa853b2434c0d237cff49f7f273444a06d (patch) | |
tree | 295dd4dfb9fadb348bd46bdc8512e16b19555c58 /engines/lastexpress/game/savegame.h | |
parent | 9f7ae73a7b7318311e5cc52d36e451cacfba8a02 (diff) | |
download | scummvm-rg350-af580eaa853b2434c0d237cff49f7f273444a06d.tar.gz scummvm-rg350-af580eaa853b2434c0d237cff49f7f273444a06d.tar.bz2 scummvm-rg350-af580eaa853b2434c0d237cff49f7f273444a06d.zip |
LASTEXPRESS: save/load sound state
Warning: breaks compatibility with previous savefiles.
They were mostly broken anyway, locking any NPC who
waited for kActionEndSound when savefile was created.
Diffstat (limited to 'engines/lastexpress/game/savegame.h')
-rw-r--r-- | engines/lastexpress/game/savegame.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/lastexpress/game/savegame.h b/engines/lastexpress/game/savegame.h index f374e18a44..6c3105b8c0 100644 --- a/engines/lastexpress/game/savegame.h +++ b/engines/lastexpress/game/savegame.h @@ -79,8 +79,11 @@ namespace LastExpress { +// our own hack until compression code will be confirmed stable +#define DISABLE_COMPRESSION 1 + // Savegame signatures -#define SAVEGAME_SIGNATURE 0x12001200 // 301994496 +#define SAVEGAME_SIGNATURE (0x12001200 ^ DISABLE_COMPRESSION) // 301994496 #define SAVEGAME_ENTRY_SIGNATURE 0xE660E660 // 3865110112 #define WRAP_SYNC_FUNCTION(instance, className, method) \ |