diff options
author | Colin Snover | 2016-08-28 16:20:37 -0500 |
---|---|---|
committer | Colin Snover | 2016-09-29 19:39:16 -0500 |
commit | 3201440d11dde487e0ef5434cfa30066f261660f (patch) | |
tree | d5ce8daacc65a645939adf690d8269f26ce144ee /engines/sci/engine/workarounds.h | |
parent | b784357f5df98a3998ef0728b75b446e0e905621 (diff) | |
download | scummvm-rg350-3201440d11dde487e0ef5434cfa30066f261660f.tar.gz scummvm-rg350-3201440d11dde487e0ef5434cfa30066f261660f.tar.bz2 scummvm-rg350-3201440d11dde487e0ef5434cfa30066f261660f.zip |
SCI: Generalize code for getting information on the current call
Diffstat (limited to 'engines/sci/engine/workarounds.h')
-rw-r--r-- | engines/sci/engine/workarounds.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/engines/sci/engine/workarounds.h b/engines/sci/engine/workarounds.h index 2cccd05475..2f7a9e56e2 100644 --- a/engines/sci/engine/workarounds.h +++ b/engines/sci/engine/workarounds.h @@ -24,6 +24,7 @@ #define SCI_ENGINE_WORKAROUNDS_H #include "sci/engine/vm_types.h" +#include "sci/engine/state.h" #include "sci/sci.h" namespace Sci { @@ -35,13 +36,6 @@ enum SciWorkaroundType { WORKAROUND_FAKE // fake kernel call / replace temp value / fake opcode }; -struct SciTrackOriginReply { - int scriptNr; - Common::String objectName; - Common::String methodName; - int localCallOffset; -}; - struct SciWorkaroundSolution { SciWorkaroundType type; uint16 value; @@ -103,7 +97,7 @@ extern const SciWorkaroundEntry kUnLoad_workarounds[]; extern const SciWorkaroundEntry kStringPutAt_workarounds[]; extern const SciWorkaroundEntry kScrollWindowAdd_workarounds[]; -extern SciWorkaroundSolution trackOriginAndFindWorkaround(int index, const SciWorkaroundEntry *workaroundList, SciTrackOriginReply *trackOrigin); +extern SciWorkaroundSolution trackOriginAndFindWorkaround(int index, const SciWorkaroundEntry *workaroundList, SciCallOrigin *trackOrigin); } // End of namespace Sci |