[Scummvm-cvs-logs] SF.net SVN: scummvm:[49675] tools/branches/gsoc2010-decompiler/decompiler/ scummv6/disassembler.cpp

pidgeot at users.sourceforge.net pidgeot at users.sourceforge.net
Tue Jun 15 01:30:57 CEST 2010


Revision: 49675
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49675&view=rev
Author:   pidgeot
Date:     2010-06-14 23:30:56 +0000 (Mon, 14 Jun 2010)

Log Message:
-----------
Fix stack effect of a few opcodes

Modified Paths:
--------------
    tools/branches/gsoc2010-decompiler/decompiler/scummv6/disassembler.cpp

Modified: tools/branches/gsoc2010-decompiler/decompiler/scummv6/disassembler.cpp
===================================================================
--- tools/branches/gsoc2010-decompiler/decompiler/scummv6/disassembler.cpp	2010-06-14 22:40:32 UTC (rev 49674)
+++ tools/branches/gsoc2010-decompiler/decompiler/scummv6/disassembler.cpp	2010-06-14 23:30:56 UTC (rev 49675)
@@ -141,12 +141,12 @@
 		OPCODE(0x7D, "walkActorToObj", kSpecial, -3, "");
 		OPCODE(0x7E, "walkActorTo", kSpecial, -3, "");
 		OPCODE(0x7F, "putActorAtXY", kSpecial, -4, "");
-		OPCODE(0x80, "putActorAtObject", kSpecial, -2, "");
+		OPCODE(0x80, "putActorAtObject", kSpecial, -3, "");
 		OPCODE(0x81, "faceActor", kSpecial, -2, "");
 		OPCODE(0x82, "animateActor", kSpecial, -2, "");
 		OPCODE(0x83, "doSentence", kSpecial, -4, "");
-		OPCODE(0x84, "pickupObject", kSpecial, -1, "");
-		OPCODE(0x85, "loadRoomWithEgo", kSpecial, -3, "");
+		OPCODE(0x84, "pickupObject", kSpecial, -2, "");
+		OPCODE(0x85, "loadRoomWithEgo", kSpecial, -4, "");
 		OPCODE(0x87, "getRandomNumber", kSpecial, 0, "");
 		OPCODE(0x88, "getRandomNumberRange", kSpecial, -1, "");
 		OPCODE(0x8A, "getActorMoving", kSpecial, 0, "");
@@ -185,7 +185,7 @@
 			OPCODE(0x73, "resRoutine_unlockRoom", kSpecial, -1, "");
 			OPCODE(0x75, "resRoutine_loadCharset", kSpecial, -1, "");
 			OPCODE(0x76, "resRoutine_nukeCharset", kSpecial, -1, "");
-			OPCODE(0x77, "resRoutine_loadFlObject", kSpecial, -1, "");
+			OPCODE(0x77, "resRoutine_loadFlObject", kSpecial, -2, "");
 		END_SUBOPCODE;
 		START_SUBOPCODE(0x9C); //roomOps
 			OPCODE(0xAC, "roomOp_roomScroll", kSpecial, -2, "");


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