SCI: Fix restarting SCI engine with different SCI version

This commit is contained in:
Willem Jan Palenstijn 2011-11-29 18:34:25 +01:00
parent dabea2b515
commit 0192d2f2de
8 changed files with 49 additions and 41 deletions

View file

@ -122,8 +122,8 @@ reg_t disassemble(EngineState *s, reg_t pos, bool printBWTag, bool printBytecode
#endif
i = 0;
while (g_opcode_formats[opcode][i]) {
switch (g_opcode_formats[opcode][i++]) {
while (g_sci->_opcode_formats[opcode][i]) {
switch (g_sci->_opcode_formats[opcode][i++]) {
case Script_Invalid:
warning("-Invalid operation-");
break;