[Scummvm-cvs-logs] SF.net SVN: scummvm: [21696] scummvm/trunk/engines/cine/script.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sat Apr 8 07:27:01 CEST 2006
Revision: 21696
Author: eriktorbjorn
Date: 2006-04-08 07:26:36 -0700 (Sat, 08 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21696&view=rev
Log Message:
-----------
Make the warning message for undefined opcodes slightly clearer.
Modified Paths:
--------------
scummvm/trunk/engines/cine/script.cpp
Modified: scummvm/trunk/engines/cine/script.cpp
===================================================================
--- scummvm/trunk/engines/cine/script.cpp 2006-04-08 14:23:33 UTC (rev 21695)
+++ scummvm/trunk/engines/cine/script.cpp 2006-04-08 14:26:36 UTC (rev 21696)
@@ -2127,13 +2127,11 @@
byte opcode = getNextByte();
- //printf("Op: %X\n", opcode - 1);
-
if (opcode && opcode < _numOpcodes) {
if (_opcodeTable[opcode - 1])
(_opcodeTable[opcode - 1]) ();
else
- warning("Undefined opcode %X", opcode - 1);
+ warning("Undefined opcode 0x%02X", opcode - 1);
}
}
}
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