[Scummvm-cvs-logs] SF.net SVN: scummvm:[51488] tools/branches/gsoc2010-decompiler/decompiler/ kyra/engine.cpp

pidgeot at users.sourceforge.net pidgeot at users.sourceforge.net
Fri Jul 30 02:29:07 CEST 2010


Revision: 51488
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51488&view=rev
Author:   pidgeot
Date:     2010-07-30 00:29:07 +0000 (Fri, 30 Jul 2010)

Log Message:
-----------
Implement Kyra::Engine::getDestAddress

Modified Paths:
--------------
    tools/branches/gsoc2010-decompiler/decompiler/kyra/engine.cpp

Modified: tools/branches/gsoc2010-decompiler/decompiler/kyra/engine.cpp
===================================================================
--- tools/branches/gsoc2010-decompiler/decompiler/kyra/engine.cpp	2010-07-30 00:27:53 UTC (rev 51487)
+++ tools/branches/gsoc2010-decompiler/decompiler/kyra/engine.cpp	2010-07-30 00:29:07 UTC (rev 51488)
@@ -28,8 +28,7 @@
 }
 
 uint32 Kyra::Engine::getDestAddress(ConstInstIterator it) const {
-	// TODO
-	return 0;
+	return it->_params[0].getSigned();
 }
 
 ::CodeGenerator *Kyra::Engine::getCodeGenerator(std::ostream &output) {


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