From f1abc0c302a8576415086626f6805acfe997459d Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Fri, 1 Nov 2013 13:25:31 +0100 Subject: SCI: improved patcher, inventory patch for kq6/mac Also added new debug flag for script patcher --- engines/sci/engine/script.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci/engine/script.h') 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); -- cgit v1.2.3