aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/script_patches.h
diff options
context:
space:
mode:
authorJohannes Schickel2013-12-08 18:47:41 +0100
committerJohannes Schickel2013-12-08 18:47:41 +0100
commit239e39e30a8560af75cf5b4b45bad67aedc3eab3 (patch)
tree0cf64e0bab4b17ce5dfae3e8c3e5f69853e6f72c /engines/sci/engine/script_patches.h
parent4ff2b7985b23c0b90653050c7ecaab3fe940ad43 (diff)
downloadscummvm-rg350-239e39e30a8560af75cf5b4b45bad67aedc3eab3.tar.gz
scummvm-rg350-239e39e30a8560af75cf5b4b45bad67aedc3eab3.tar.bz2
scummvm-rg350-239e39e30a8560af75cf5b4b45bad67aedc3eab3.zip
SCI: Make all global script patch signatures const.
Diffstat (limited to 'engines/sci/engine/script_patches.h')
-rw-r--r--engines/sci/engine/script_patches.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/script_patches.h b/engines/sci/engine/script_patches.h
index 77cb2c7ef1..5d3ee22f7a 100644
--- a/engines/sci/engine/script_patches.h
+++ b/engines/sci/engine/script_patches.h
@@ -86,8 +86,8 @@ public:
void processScript(uint16 scriptNr, byte *scriptData, const uint32 scriptSize);
private:
- void initSignature(SciScriptPatcherEntry *patchTable, bool isMacSci11);
- void enablePatch(SciScriptPatcherEntry *patchTable, const char *searchDescription);
+ void initSignature(const SciScriptPatcherEntry *patchTable, bool isMacSci11);
+ void enablePatch(const SciScriptPatcherEntry *patchTable, const char *searchDescription);
int32 findSignature(const SciScriptPatcherEntry *patchEntry, SciScriptPatcherRuntimeEntry *runtimeEntry, const byte *scriptData, const uint32 scriptSize, bool isMacSci11);
void applyPatch(const SciScriptPatcherEntry *patchEntry, byte *scriptData, const uint32 scriptSize, int32 signatureOffset, bool isMacSci11);