From 5325f9b76e0c84ee99743f4f5d5fc78da7b20042 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 20 Apr 2009 19:28:33 +0000 Subject: SCI: Renamed global array 'formats' to the slightly more descriptive g_opcode_formats svn-id: r40031 --- engines/sci/engine/scriptdebug.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/sci/engine/scriptdebug.cpp') diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index 1e5b25271d..8769945b8c 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -1262,8 +1262,8 @@ reg_t disassemble(EngineState *s, reg_t pos, int print_bw_tag, int print_bytecod sciprintf(PREG": ", PRINT_REG(pos)); if (print_bytecode) { - while (formats[opcode][i]) { - switch (formats[opcode][i++]) { + while (g_opcode_formats[opcode][i]) { + switch (g_opcode_formats[opcode][i++]) { case Script_SByte: case Script_Byte: @@ -1311,8 +1311,8 @@ reg_t disassemble(EngineState *s, reg_t pos, int print_bw_tag, int print_bytecod sciprintf("%s", s->opcodes[opcode].name); i = 0; - while (formats[opcode][i]) { - switch (formats[opcode][i++]) { + while (g_opcode_formats[opcode][i]) { + switch (g_opcode_formats[opcode][i++]) { case Script_Invalid: sciprintf("-Invalid operation-"); break; -- cgit v1.2.3