[Scummvm-cvs-logs] CVS: scummvm/simon debug.cpp,1.47,1.48
kirben
kirben at users.sourceforge.net
Wed Nov 9 17:43:11 CET 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/simon items.cpp,1.134,1.135 res.cpp,1.38,1.39 simon.h,1.156,1.157 vga.cpp,1.145,1.146
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.530,1.531 simon.h,1.157,1.158 vga.cpp,1.146,1.147
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27997/simon
Modified Files:
debug.cpp
Log Message:
More accurate video opcodes output.
Index: debug.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/debug.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- debug.cpp 10 Nov 2005 00:53:00 -0000 1.47
+++ debug.cpp 10 Nov 2005 01:41:56 -0000 1.48
@@ -176,7 +176,7 @@
const char *str, *strn;
do {
- if (!(_game & GF_SIMON2)) {
+ if (_game & GF_SIMON1) {
opcode = READ_BE_UINT16(src);
src += 2;
} else {
@@ -209,10 +209,13 @@
case 'b':
fprintf(_dumpFile, "%d ", *src++);
break;
- case 'd':
- fprintf(_dumpFile, "%d ", readUint16Wrapper(src));
- src += 2;
- break;
+ case 'd': {
+ int16 tmp = (int16)readUint16Wrapper(src);
+ if (tmp < 0) tmp = vc_read_var(-tmp);
+ fprintf(_dumpFile, "%d ", tmp);
+ src += 2;
+ break;
+ }
case 'v':
fprintf(_dumpFile, "[%d] ", readUint16Wrapper(src));
src += 2;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/simon items.cpp,1.134,1.135 res.cpp,1.38,1.39 simon.h,1.156,1.157 vga.cpp,1.145,1.146
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.530,1.531 simon.h,1.157,1.158 vga.cpp,1.146,1.147
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list