diff options
author | Max Horn | 2009-09-17 17:00:36 +0000 |
---|---|---|
committer | Max Horn | 2009-09-17 17:00:36 +0000 |
commit | 5f440854b7f0f4d9aefda208e9b79c5628adf50f (patch) | |
tree | eccbc04b87ac93c94727572d5caa64d412aa36c8 /engines/sci/engine/scriptdebug.cpp | |
parent | c2455aad870b87e9603d52b19060f77510bd74a4 (diff) | |
download | scummvm-rg350-5f440854b7f0f4d9aefda208e9b79c5628adf50f.tar.gz scummvm-rg350-5f440854b7f0f4d9aefda208e9b79c5628adf50f.tar.bz2 scummvm-rg350-5f440854b7f0f4d9aefda208e9b79c5628adf50f.zip |
SCI: Add EngineState::_kernel member for convenience
svn-id: r44173
Diffstat (limited to 'engines/sci/engine/scriptdebug.cpp')
-rw-r--r-- | engines/sci/engine/scriptdebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index 099976343a..7ddec73f19 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -108,7 +108,7 @@ reg_t disassemble(EngineState *s, reg_t pos, int print_bw_tag, int print_bytecod uint opcode; int bytecount = 1; int i = 0; - Kernel *kernel = ((SciEngine*)g_engine)->getKernel(); + Kernel *kernel = s->_kernel; if (!mobj) { warning("Disassembly failed: Segment %04x non-existant or not a script", pos.segment); |