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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Sep 9 14:01:05 CEST 2010


Revision: 52653
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52653&view=rev
Author:   thebluegr
Date:     2010-09-09 12:01:04 +0000 (Thu, 09 Sep 2010)

Log Message:
-----------
SCI: Changed the error message when execute_method() references an invalid export

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-09-09 11:40:46 UTC (rev 52652)
+++ scummvm/trunk/engines/sci/engine/vm.cpp	2010-09-09 12:01:04 UTC (rev 52653)
@@ -318,10 +318,10 @@
 		// HACK: Temporarily switch to a warning in SCI32 games until we can figure out why Torin has
 		// an invalid exported function.
 		if (getSciVersion() >= SCI_VERSION_2)
-			warning("Request for invalid exported function 0x%x of script 0x%x", pubfunct, script);
+			warning("Request for invalid exported function 0x%x of script %d", pubfunct, script);
 		else
 #endif
-			error("Request for invalid exported function 0x%x of script 0x%x", pubfunct, script);
+			error("Request for invalid exported function 0x%x of script %d", pubfunct, script);
 		return NULL;
 	}
 


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