diff options
author | Martin Kiewitz | 2013-11-01 13:25:31 +0100 |
---|---|---|
committer | Martin Kiewitz | 2013-11-01 13:25:31 +0100 |
commit | f1abc0c302a8576415086626f6805acfe997459d (patch) | |
tree | 4e273a57b3a77ee1d59cfcd0ac080a081d2a6297 /engines/sci/engine/script.h | |
parent | c93249cfd02dda2dc92f06e35a3393e167d49537 (diff) | |
download | scummvm-rg350-f1abc0c302a8576415086626f6805acfe997459d.tar.gz scummvm-rg350-f1abc0c302a8576415086626f6805acfe997459d.tar.bz2 scummvm-rg350-f1abc0c302a8576415086626f6805acfe997459d.zip |
SCI: improved patcher, inventory patch for kq6/mac
Also added new debug flag for script patcher
Diffstat (limited to 'engines/sci/engine/script.h')
-rw-r--r-- | engines/sci/engine/script.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h index 0b499203c2..7dde7f4be6 100644 --- a/engines/sci/engine/script.h +++ b/engines/sci/engine/script.h @@ -99,8 +99,8 @@ public: void load(int script_nr, ResourceManager *resMan); void matchSignatureAndPatch(uint16 scriptNr, byte *scriptData, const uint32 scriptSize); - int32 findSignature(const SciScriptSignature *signature, const byte *scriptData, const uint32 scriptSize); - void applyPatch(const uint16 *patch, byte *scriptData, const uint32 scriptSize, int32 signatureOffset); + int32 findSignature(const SciScriptSignature *signature, const byte *scriptData, const uint32 scriptSize, bool isMacSci11); + void applyPatch(const uint16 *patch, byte *scriptData, const uint32 scriptSize, int32 signatureOffset, bool isMacSci11); virtual bool isValidOffset(uint16 offset) const; virtual SegmentRef dereference(reg_t pointer); |