Debugger: Allow labels to be created on the last valid byte of the range

This commit is contained in:
Sour 2018-12-10 18:48:06 -05:00
parent 031f320d44
commit d5b4d210ba

View file

@ -75,7 +75,7 @@ namespace Mesen.GUI.Debugger
}
return
address < maxAddress &&
address <= maxAddress &&
(sameLabel == null || sameLabel == _originalLabel)
&& (sameAddress == null || sameAddress == _originalLabel)
&& (_originalLabel != null || txtLabel.Text.Length > 0 || txtComment.Text.Length > 0)