Debugger: Allow empty labels in MLB files (e.g code comments)
This commit is contained in:
parent
5f5459c4c4
commit
ddc7d9fa97
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ namespace Mesen.GUI.Debugger
|
|||
}
|
||||
|
||||
string labelName = rowData[2];
|
||||
if(!LabelManager.LabelRegex.IsMatch(labelName)) {
|
||||
if(!string.IsNullOrEmpty(labelName) && !LabelManager.LabelRegex.IsMatch(labelName)) {
|
||||
//Reject labels that don't respect the label naming restrictions
|
||||
errorCount++;
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue