[Scummvm-cvs-logs] SF.net SVN: scummvm:[44506] scummvm/trunk/engines/sci/engine/vm.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Oct 1 01:13:47 CEST 2009
Revision: 44506
http://scummvm.svn.sourceforge.net/scummvm/?rev=44506&view=rev
Author: thebluegr
Date: 2009-09-30 23:13:46 +0000 (Wed, 30 Sep 2009)
Log Message:
-----------
Fixed the warning message shown when dummy functions are invoked
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/vm.cpp
Modified: scummvm/trunk/engines/sci/engine/vm.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/vm.cpp 2009-09-30 23:00:03 UTC (rev 44505)
+++ scummvm/trunk/engines/sci/engine/vm.cpp 2009-09-30 23:13:46 UTC (rev 44506)
@@ -964,7 +964,10 @@
s->_executionStack.pop_back();
} else {
Common::String warningMsg = "Dummy function " + kfun.orig_name;
- warningMsg += Common::String::printf("[0x%x] invoked - ignoring. Params: %d (", opparams[0], argc);
+ warningMsg += Common::String::printf("[0x%x]", opparams[0]);
+ warningMsg += " invoked - ignoring. Params: ";
+ warningMsg += Common::String::printf("%d", argc);
+ warningMsg += " (";
for (int i = 0; i < argc; i++) {
warningMsg += Common::String::printf("%04x:%04x", PRINT_REG(argv[i]));
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