mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Merge pull request #1062 from zhuowei/master
Parse input as hex instead of decimal to match display values in the register view
This commit is contained in:
commit
fc774f0232
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,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…
Add table
Add a link
Reference in a new issue