[Scummvm-cvs-logs] SF.net SVN: scummvm: [24125] scummvm/trunk/engines/agos/debug.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Thu Oct 5 18:43:15 CEST 2006
Revision: 24125
http://svn.sourceforge.net/scummvm/?rev=24125&view=rev
Author: eriktorbjorn
Date: 2006-10-05 09:43:11 -0700 (Thu, 05 Oct 2006)
Log Message:
-----------
I hope this is the right fix for an "invalid opcode" message right after
SET_PATHFIND_ITEM when dumping scripts. If so, perhaps it should be on the 0.9
branch as well. On the other hand, it only happens when debugging...
Modified Paths:
--------------
scummvm/trunk/engines/agos/debug.cpp
Modified: scummvm/trunk/engines/agos/debug.cpp
===================================================================
--- scummvm/trunk/engines/agos/debug.cpp 2006-10-05 13:46:48 UTC (rev 24124)
+++ scummvm/trunk/engines/agos/debug.cpp 2006-10-05 16:43:11 UTC (rev 24125)
@@ -206,7 +206,7 @@
}
if (opcode >= _numVideoOpcodes) {
- error("Invalid opcode %x\n", opcode);
+ error("Invalid opcode %x", opcode);
return;
}
@@ -251,7 +251,7 @@
readUint16Wrapper(src + 2));
src += 4;
}
- src++;
+ src += 2;
break;
default:
error("Invalid fmt string '%c' in decompile VGA", *str);
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