DebugInterface: Make GetRawMemoryString return a std::string

This commit is contained in:
Lioncash
2016-10-07 09:56:02 -04:00
parent 3245ca236a
commit ee71d70738
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);
}