diff options
author | Filippos Karapetis | 2010-11-18 19:20:30 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-18 19:20:30 +0000 |
commit | 49468fdffff855f3cc5c77044776531381f3fe8f (patch) | |
tree | af2dbb7a602d3a937a2775f8ca68405f04af65b5 /engines/sci/engine | |
parent | c2bdba2ea66ad6ae1d1d3c5babaafff2692f7adb (diff) | |
download | scummvm-rg350-49468fdffff855f3cc5c77044776531381f3fe8f.tar.gz scummvm-rg350-49468fdffff855f3cc5c77044776531381f3fe8f.tar.bz2 scummvm-rg350-49468fdffff855f3cc5c77044776531381f3fe8f.zip |
SCI3: Added another previously unused opcode (0x27 / 0x4e)
svn-id: r54341
Diffstat (limited to 'engines/sci/engine')
-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 |