diff options
author | Colin Snover | 2017-09-14 20:42:42 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-14 20:45:02 -0500 |
commit | 029eeeb803eaef861e74765f69e2fabddf0ec7a7 (patch) | |
tree | 25f5e175f62be21c1ee407bdd8f054e0fd460729 /engines/sci/engine/selector.h | |
parent | 88420970b78cd8f740c3251d7d6c028c06ef6fc1 (diff) | |
download | scummvm-rg350-029eeeb803eaef861e74765f69e2fabddf0ec7a7.tar.gz scummvm-rg350-029eeeb803eaef861e74765f69e2fabddf0ec7a7.tar.bz2 scummvm-rg350-029eeeb803eaef861e74765f69e2fabddf0ec7a7.zip |
SCI32: Fix Phant2 "auto-save"
The game has a feature where it will automatically create a save
game when you quit the game through the in-game control panel (or
when you die, for some reason).
Unfortunately, due to bad programming, this automatic save would
just overwrite whatever was in save slot 1 (slot 0 in the original
interpreter). Find this attempt to auto-save the game and redirect
it to the auto-save slot. This might not be totally correct, but
it is at least better than destroying a save game.
Fixes Trac#10201.
Diffstat (limited to 'engines/sci/engine/selector.h')
-rw-r--r-- | engines/sci/engine/selector.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/selector.h b/engines/sci/engine/selector.h index e2afa74c7a..977411429a 100644 --- a/engines/sci/engine/selector.h +++ b/engines/sci/engine/selector.h @@ -183,6 +183,7 @@ struct SelectorCache { Selector scratch; // for Phant2 save/load patching Selector num; // for Phant2 restore from launcher Selector reallyRestore; // for Phant2 restore from launcher + Selector bookMark; // for Phant2 auto-save #endif }; |