diff options
author | Jonathan Gray | 2003-04-20 06:55:09 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-04-20 06:55:09 +0000 |
commit | c597d0d4d6c989dea6631365466c2b32d394bb6e (patch) | |
tree | fdb38d6bdf235b2da4d595e92a700439eed41a6a /scumm/script.cpp | |
parent | 1d01a68cac52923f62106a8d56d67d63bbb7094f (diff) | |
download | scummvm-rg350-c597d0d4d6c989dea6631365466c2b32d394bb6e.tar.gz scummvm-rg350-c597d0d4d6c989dea6631365466c2b32d394bb6e.tar.bz2 scummvm-rg350-c597d0d4d6c989dea6631365466c2b32d394bb6e.zip |
add script hex dumping option to debugger
svn-id: r7024
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r-- | scumm/script.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index 7d501d8ce6..c6e47e19e5 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -285,6 +285,8 @@ void Scumm::executeScript() { _scriptPointer - _scriptOrgPointer, _opcode, getOpcodeDesc(_opcode)); + if (_hexdumpScripts == true) + hexdump(_scriptPointer - 1, 8); executeOpcode(_opcode); } CHECK_HEAP; |