Merge pull request #5009 from aldelaro5/memcheck-fix

Fix memory breakpoint when checking the middle of the data
This commit is contained in:
Anthony
2017-03-20 12:41:02 -07:00
committed by GitHub
9 changed files with 22 additions and 20 deletions
@@ -418,7 +418,7 @@ void CMemoryView::OnPaint(wxPaintEvent& event)
draw_text(StrToWxStr(desc), 2);
// Show blue memory check dot
if (debugger->IsMemCheck(address))
if (debugger->IsMemCheck(address, sizeof(u8)))
{
dc.SetPen(*wxTRANSPARENT_PEN);
dc.SetBrush(mc_brush);