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

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Thu Oct 7 16:58:00 CEST 2010


Revision: 53047
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53047&view=rev
Author:   wjpalenstijn
Date:     2010-10-07 14:57:59 +0000 (Thu, 07 Oct 2010)

Log Message:
-----------
SCI: Still show warning for uninit. reads in release mode

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

Modified: scummvm/trunk/engines/sci/engine/vm.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/vm.cpp	2010-10-07 14:40:11 UTC (rev 53046)
+++ scummvm/trunk/engines/sci/engine/vm.cpp	2010-10-07 14:57:59 UTC (rev 53047)
@@ -210,6 +210,10 @@
 				if (solution.type == WORKAROUND_NONE) {
 #ifdef RELEASE_BUILD
 					// If we are running an official ScummVM release -> fake 0 in unknown cases
+					warning("Uninitialized read for temp %d from method %s::%s (script %d, room %d, localCall %x)", 
+					index, originReply.objectName.c_str(), originReply.methodName.c_str(), originReply.scriptNr, 
+					g_sci->getEngineState()->currentRoomNumber(), originReply.localCallOffset);
+
 					r[index] = NULL_REG;
 					break;
 #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