SCI3: Added another previously unused opcode (0x27 / 0x4e)

svn-id: r54341
This commit is contained in:
Filippos Karapetis 2010-11-18 19:20:30 +00:00
parent c2bdba2ea6
commit 49468fdfff
2 changed files with 3 additions and 0 deletions

View File

@ -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
}

View File

@ -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