mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
SCI3: Added another previously unused opcode (0x27 / 0x4e)
svn-id: r54341
This commit is contained in:
parent
c2bdba2ea6
commit
49468fdfff
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user