Debugger: Fixed label update issue when cpu address changed

This commit is contained in:
Sour 2018-03-25 15:52:03 -04:00
parent 7d15e1daf2
commit 85d82049f7
2 changed files with 3 additions and 3 deletions

View file

@ -104,7 +104,7 @@ namespace Mesen.GUI.Config
public bool ShowVerifiedData = false;
public bool ShowUnidentifiedData = false;
public bool ShowCommentsInLabelList = true;
public bool ShowCommentsInLabelList = false;
public bool SplitView = false;
public bool HexDisplay = true;

View file

@ -93,11 +93,11 @@ namespace Mesen.GUI.Debugger.Controls
updating = true;
}
if(relativeAddress >= 0) {
item.SubItems[0].Text = "$" + relativeAddress.ToString("X4");
item.SubItems[1].Text = "$" + relativeAddress.ToString("X4");
item.ForeColor = Color.Black;
item.Font = new Font(item.Font, FontStyle.Regular);
} else {
item.SubItems[0].Text = "[n/a]";
item.SubItems[1].Text = "[n/a]";
item.ForeColor = Color.Gray;
item.Font = new Font(item.Font, FontStyle.Italic);
}