Fixed an array out of bounds access in the debugger. Fixed a path problem with the wx vbam xpm icon. Patch by Mook.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1419 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
skidau 2015-05-11 07:27:42 +00:00
parent 1e13164dcc
commit 4d1d50fa13
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ void printBreakRegList(bool verbose){
for (int j = 0; j < regBreakCounter[i][k]; j++){
if (tmp->flags & 8)
{
sprintf(monbuf, "No. %d:\tBreak if (signed)%s %08x\n", j, flagsToOP[tmp->flags], tmp->intVal); monprintf(monbuf);
sprintf(monbuf, "No. %d:\tBreak if (signed)%s %08x\n", j, flagsToOP[tmp->flags & 7], tmp->intVal); monprintf(monbuf);
}
else
{

View File

@ -28,7 +28,7 @@
// ImageMagick makes the name wxvbam, but wx expects wxvbam_xpm
#define wxvbam wxvbam_xpm
const
#include "xrx/wxvbam.xpm"
#include "xrc/vbam.xpm"
#undef wxvbam
#endif