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

This commit is contained in:
skidau 2015-05-11 07:27:42 +00:00
parent ef62b19775
commit 427c63aa3d
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