SCI: Renamed global array 'formats' to the slightly more descriptive g_opcode_formats
svn-id: r40031
This commit is contained in:
parent
d567482818
commit
5325f9b76e
4 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue