From 3eaeeee41daa7a00871c3d37e5eb09ccf127cc4f Mon Sep 17 00:00:00 2001 From: Zhuowei Zhang Date: Fri, 12 Sep 2014 00:20:26 -0400 Subject: [PATCH] Parse input as hex instead of decimal to match display values in the debugger's register view --- Source/Core/DolphinWX/Debugger/RegisterView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Debugger/RegisterView.cpp b/Source/Core/DolphinWX/Debugger/RegisterView.cpp index 25635db528..f883e48c34 100644 --- a/Source/Core/DolphinWX/Debugger/RegisterView.cpp +++ b/Source/Core/DolphinWX/Debugger/RegisterView.cpp @@ -98,7 +98,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) {