From 3af8918e1a0888d46df13eff088104dce4c88974 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 22 Apr 2009 17:54:11 +0000 Subject: SCI: Changed kfunct_table to a Common::Array svn-id: r40080 --- engines/sci/engine/scriptdebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/engine/scriptdebug.cpp') diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index 77285f9aca..41fe16909b 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -1343,7 +1343,7 @@ reg_t disassemble(EngineState *s, reg_t pos, int print_bw_tag, int print_bytecod } if (opcode == op_callk) - sciprintf(" %s[%x]", (param_value < s->kfunct_nr) ? + sciprintf(" %s[%x]", (param_value < s->_kfuncTable.size()) ? ((param_value < s->_kernelNames.size()) ? s->_kernelNames[param_value].c_str() : "[Unknown(postulated)]") : "", param_value); else -- cgit v1.2.3