SCI: Fix restarting SCI engine with different SCI version
This commit is contained in:
parent
dabea2b515
commit
0192d2f2de
8 changed files with 49 additions and 41 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue