From 029eeeb803eaef861e74765f69e2fabddf0ec7a7 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Thu, 14 Sep 2017 20:42:42 -0500 Subject: 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. --- engines/sci/engine/selector.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sci/engine/selector.cpp') diff --git a/engines/sci/engine/selector.cpp b/engines/sci/engine/selector.cpp index 971802affb..d310b0fafd 100644 --- a/engines/sci/engine/selector.cpp +++ b/engines/sci/engine/selector.cpp @@ -226,6 +226,7 @@ void Kernel::mapSelectors() { FIND_SELECTOR(scratch); FIND_SELECTOR(num); FIND_SELECTOR(reallyRestore); + FIND_SELECTOR(bookMark); #endif } -- cgit v1.2.3