diff options
author | Colin Snover | 2016-10-13 10:11:24 -0500 |
---|---|---|
committer | Colin Snover | 2016-10-20 11:33:08 -0500 |
commit | 55222ec06c030a03d288b7ad476c5dbf1444a48b (patch) | |
tree | 2034bfbd9b228650a4f302f43bdf0d80063034bf /engines/sci/engine/script.h | |
parent | 950ee49382ea054ede5b7bb689add98b25075a8b (diff) | |
download | scummvm-rg350-55222ec06c030a03d288b7ad476c5dbf1444a48b.tar.gz scummvm-rg350-55222ec06c030a03d288b7ad476c5dbf1444a48b.tar.bz2 scummvm-rg350-55222ec06c030a03d288b7ad476c5dbf1444a48b.zip |
SCI32: Fix zero-offset exports
Exports with a zero offset are supposed to point to the start of
the code block in the script hunk, but they were being ignored.
This may also apply to SCI1.1 games, but until that can be
verified, this fixes the zero-offset in only SCI32 games for now.
Diffstat (limited to 'engines/sci/engine/script.h')
-rw-r--r-- | engines/sci/engine/script.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h index 755e2f3698..31f0a9e24d 100644 --- a/engines/sci/engine/script.h +++ b/engines/sci/engine/script.h @@ -81,6 +81,8 @@ private: const byte *_synonyms; /**< Synonyms block or 0 if not present */ uint16 _numSynonyms; /**< Number of entries in the synonyms block */ + int _codeOffset; /**< The absolute offset of the VM code block */ + int _localsOffset; uint16 _localsCount; |