Debugger: Tweak WLA-DX .sym regex to allow more .sym files to load properly
This commit is contained in:
parent
67f000c18c
commit
bab36b826f
1 changed files with 2 additions and 2 deletions
|
@ -76,9 +76,9 @@ namespace Mesen.GUI.Debugger.Integration
|
|||
string basePath = Path.GetDirectoryName(path);
|
||||
string[] lines = File.ReadAllLines(path);
|
||||
|
||||
Regex labelRegex = new Regex(@"^([0-9a-fA-F]{2}):([0-9a-fA-F]{4}) ([^\s]*)", RegexOptions.Compiled);
|
||||
Regex labelRegex = new Regex(@"^([0-9a-fA-F]{2,4}):([0-9a-fA-F]{4}) ([^\s]*)", RegexOptions.Compiled);
|
||||
Regex fileRegex = new Regex(@"^([0-9a-fA-F]{4}) ([0-9a-fA-F]{8}) (.*)", RegexOptions.Compiled);
|
||||
Regex addrRegex = new Regex(@"^([0-9a-fA-F]{2}):([0-9a-fA-F]{4}) ([0-9a-fA-F]{4}):([0-9a-fA-F]{8})", RegexOptions.Compiled);
|
||||
Regex addrRegex = new Regex(@"^([0-9a-fA-F]{2,4}):([0-9a-fA-F]{4}) ([0-9a-fA-F]{4}):([0-9a-fA-F]{8})", RegexOptions.Compiled);
|
||||
|
||||
Dictionary<string, CodeLabel> labels = new Dictionary<string, CodeLabel>();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue