diff --git a/Source/Core/DolphinWX/Debugger/RegisterView.cpp b/Source/Core/DolphinWX/Debugger/RegisterView.cpp index ce991f24e1..6f13a4a2ba 100644 --- a/Source/Core/DolphinWX/Debugger/RegisterView.cpp +++ b/Source/Core/DolphinWX/Debugger/RegisterView.cpp @@ -156,7 +156,7 @@ static void SetSpecialRegValue(int reg, u32 value) void CRegTable::SetValue(int row, int col, const wxString& strNewVal) { u32 newVal = 0; - if (TryParse(WxStrToStr(strNewVal), &newVal)) + if (TryParse("0x" + WxStrToStr(strNewVal), &newVal)) { if (row < 32) {