Merge pull request #4316 from lioncash/debug

DebugInterface: Make GetRawMemoryString return a std::string
This commit is contained in:
Markus Wick
2016-10-08 10:48:45 +02:00
committed by GitHub
6 changed files with 30 additions and 44 deletions

View File

@ -332,8 +332,7 @@ void CMemoryView::OnPaint(wxPaintEvent& event)
if (!IsHexMode())
{
char mem[256];
debugger->GetRawMemoryString(memory, address, mem, 256);
const std::string mem = debugger->GetRawMemoryString(memory, address);
dc.SetTextForeground(navy_color);
draw_text(StrToWxStr(mem), 2);
}