Debugger: Memory Tools - Fixed crash in "Add to watch" action
This commit is contained in:
parent
f3462e0ffe
commit
ab8af4693a
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ namespace Mesen.GUI.Debugger.Controls
|
|||
|
||||
private void mnuAddToWatch_Click(object sender, EventArgs e)
|
||||
{
|
||||
string[] toAdd = Enumerable.Range(SelectionStartAddress, SelectionEndAddress - SelectionStartAddress - 1).Select((num) => $"[${num.ToString("X4")}]").ToArray();
|
||||
string[] toAdd = Enumerable.Range(SelectionStartAddress, SelectionEndAddress - SelectionStartAddress + 1).Select((num) => $"[${num.ToString("X4")}]").ToArray();
|
||||
WatchManager.AddWatch(toAdd);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue