Parse input as hex instead of decimal to match display values in the debugger's register view
This commit is contained in:
parent
a96618b2e6
commit
3eaeeee41d
|
@ -98,7 +98,7 @@ static void SetSpecialRegValue(int reg, u32 value)
|
||||||
void CRegTable::SetValue(int row, int col, const wxString& strNewVal)
|
void CRegTable::SetValue(int row, int col, const wxString& strNewVal)
|
||||||
{
|
{
|
||||||
u32 newVal = 0;
|
u32 newVal = 0;
|
||||||
if (TryParse(WxStrToStr(strNewVal), &newVal))
|
if (TryParse("0x" + WxStrToStr(strNewVal), &newVal))
|
||||||
{
|
{
|
||||||
if (row < 32)
|
if (row < 32)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue