Skip to content

Commit

Permalink
Merge pull request #1062 from zhuowei/master
Browse files Browse the repository at this point in the history
Parse input as hex instead of decimal to match display values in the register view
  • Loading branch information
skidau committed Oct 16, 2014
2 parents 8912315 + 3eaeeee commit fc774f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Debugger/RegisterView.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit fc774f0

Please sign in to comment.