aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-21 20:32:42 +0100
committerMartin Kiewitz2016-02-21 20:33:17 +0100
commit1ac8533b1f60d5695fb7095d7da9157689bdef6e (patch)
tree2db4398ef43d15cf476c90000a0948d41a767931 /engines/sci/graphics
parentb6b2bcf6071637d8210d124a7d8090969ba045d1 (diff)
downloadscummvm-rg350-1ac8533b1f60d5695fb7095d7da9157689bdef6e.tar.gz
scummvm-rg350-1ac8533b1f60d5695fb7095d7da9157689bdef6e.tar.bz2
scummvm-rg350-1ac8533b1f60d5695fb7095d7da9157689bdef6e.zip
SCI32: Fix save patching for ScummVM dialog
- Patch game super object for saving instead of game object - Remove re-adding planes+screen items, game::replay does that We would only have to do that for soft-failing on restore - Change debug levels of kNumLoops/kNumCels to 9 - Add special comment about -info- selector in syncWithScripts() This should now make ScummVM menu saving work properly at least in SQ6.
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/frameout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index 8a7a4856d1..260bd27684 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -210,6 +210,8 @@ void GfxFrameout::syncWithScripts(bool addElements) {
// read selector "-info-" of this object
// TODO: Seems to have been changed for SCI3
+ // Do NOT use getInfoSelector in here. SCI3 games did not use infoToa, but an actual selector.
+ // Maybe that selector is just a straight copy, but it needs to get verified/checked.
uint16 castInfoSelector = readSelectorValue(segMan, castObject, SELECTOR(_info_));
if (castInfoSelector & kInfoFlagViewInserted) {