diff options
author | Willem Jan Palenstijn | 2011-03-12 23:43:29 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-03-12 23:46:32 +0100 |
commit | 6fe95780d358f2d7854c342448eb61159f267656 (patch) | |
tree | 8fa2ff1de442d8a11a65ce6d71aaf84217e715b6 /engines/sci/console.h | |
parent | fa10ee66e46be4a08743f920ec50f11df1017a12 (diff) | |
download | scummvm-rg350-6fe95780d358f2d7854c342448eb61159f267656.tar.gz scummvm-rg350-6fe95780d358f2d7854c342448eb61159f267656.tar.bz2 scummvm-rg350-6fe95780d358f2d7854c342448eb61159f267656.zip |
SCI: Continue disasm until no jumps go past the current opcode
This should ensure disasm will disassemble an entire function, and
not stop at an intermediate ret opcode.
Diffstat (limited to 'engines/sci/console.h')
-rw-r--r-- | engines/sci/console.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/console.h b/engines/sci/console.h index b0a1de6ebd..d45454376a 100644 --- a/engines/sci/console.h +++ b/engines/sci/console.h @@ -37,6 +37,7 @@ class SciEngine; struct List; reg_t disassemble(EngineState *s, reg_t pos, bool printBWTag, bool printBytecode); +bool isJumpOpcode(EngineState *s, reg_t pos, reg_t& jumpOffset); class Console : public GUI::Debugger { public: |