[Scummvm-cvs-logs] SF.net SVN: scummvm:[54341] scummvm/trunk/engines/sci/engine

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Nov 18 20:20:31 CET 2010


Revision: 54341
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54341&view=rev
Author:   thebluegr
Date:     2010-11-18 19:20:30 +0000 (Thu, 18 Nov 2010)

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

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kernel.cpp
    scummvm/trunk/engines/sci/engine/vm.cpp

Modified: scummvm/trunk/engines/sci/engine/kernel.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel.cpp	2010-11-18 19:18:11 UTC (rev 54340)
+++ scummvm/trunk/engines/sci/engine/kernel.cpp	2010-11-18 19:20:30 UTC (rev 54341)
@@ -916,6 +916,7 @@
 		// 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
 }

Modified: scummvm/trunk/engines/sci/engine/vm.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/vm.cpp	2010-11-18 19:18:11 UTC (rev 54340)
+++ scummvm/trunk/engines/sci/engine/vm.cpp	2010-11-18 19:20:30 UTC (rev 54341)
@@ -1564,6 +1564,8 @@
 			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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list