Skip to content

Commit

Permalink
Merge pull request #5293 from sepalani/mem-ascii
Browse files Browse the repository at this point in the history
MemoryView: Fix empty string
  • Loading branch information
shuffle2 committed Jun 6, 2017
2 parents 0b00477 + f9b4901 commit 2f73bc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/DolphinWX/Debugger/MemoryView.cpp
Expand Up @@ -161,7 +161,8 @@ wxString CMemoryView::ReadMemoryAsString(u32 address) const
}
}

return StrToWxStr(str);
// Not a UTF-8 string
return wxString(str.c_str(), wxCSConv(wxFONTENCODING_CP1252), str.size());
}

void CMemoryView::OnMouseDownL(wxMouseEvent& event)
Expand Down

0 comments on commit 2f73bc1

Please sign in to comment.