Debugger: Fixed MLB file import for multi-byte labels (end address was excluded)
This commit is contained in:
parent
03f160a949
commit
586e97a428
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ namespace Mesen.GUI.Debugger
|
|||
if(UInt32.TryParse(addressStartEnd[0], NumberStyles.HexNumber, CultureInfo.InvariantCulture, out address) &&
|
||||
UInt32.TryParse(addressStartEnd[1], NumberStyles.HexNumber, CultureInfo.InvariantCulture, out addressEnd)) {
|
||||
if(addressEnd > address) {
|
||||
length = addressEnd - address;
|
||||
length = addressEnd - address + 1;
|
||||
} else {
|
||||
//Invalid label (start < end)
|
||||
errorCount++;
|
||||
|
|
Loading…
Add table
Reference in a new issue