[Scummvm-cvs-logs] SF.net SVN: scummvm:[49577] scummvm/trunk/engines/sci/console.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Thu Jun 10 17:25:18 CEST 2010


Revision: 49577
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49577&view=rev
Author:   fingolfin
Date:     2010-06-10 15:25:18 +0000 (Thu, 10 Jun 2010)

Log Message:
-----------
SCI: Fix Console::cmdValueType to handle all possible reg types

Modified Paths:
--------------
    scummvm/trunk/engines/sci/console.cpp

Modified: scummvm/trunk/engines/sci/console.cpp
===================================================================
--- scummvm/trunk/engines/sci/console.cpp	2010-06-10 15:06:25 UTC (rev 49576)
+++ scummvm/trunk/engines/sci/console.cpp	2010-06-10 15:25:18 UTC (rev 49577)
@@ -1911,9 +1911,11 @@
 		break;
 	case KSIG_ARITHMETIC:
 		DebugPrintf("Arithmetic");
+	case KSIG_ARITHMETIC | KSIG_NULL:
+		DebugPrintf("Null");
 		break;
 	default:
-		DebugPrintf("Erroneous unknown type %02x(%d decimal)\n", t, t);
+		DebugPrintf("Erroneous unknown type 0x%02x (%d decimal)\n", t, t);
 	}
 
 	return true;


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