diff options
-rw-r--r-- | engines/sci/engine/kernel.cpp | 1 | ||||
-rw-r--r-- | engines/sci/engine/vm.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp index 5b7a24f289..16534fbce9 100644 --- a/engines/sci/engine/kernel.cpp +++ b/engines/sci/engine/kernel.cpp @@ -916,6 +916,7 @@ void script_adjust_opcode_formats() { // TODO: There are also opcodes in // here to get the superclass, and possibly the species too. g_opcode_formats[0x4d/2][0] = Script_None; + g_opcode_formats[0x4e/2][0] = Script_None; } #endif } diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index 9fa579cead..20889bbee8 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -1564,6 +1564,8 @@ void run_vm(EngineState *s) { if (getSciVersion() == SCI_VERSION_3) { if (extOpcode == 0x4d) PUSH32(obj->getInfoSelector()); + else if (extOpcode == 0x4e) + PUSH32(obj->getNameSelector()); // TODO: is this correct? // TODO: There are also opcodes in // here to get the superclass, and possibly the species too. else |