Debugger: Fixed memory labels when load/run values are different (in LD65 config)
This commit is contained in:
parent
02e163f996
commit
0cd345cbca
1 changed files with 6 additions and 4 deletions
|
@ -162,10 +162,12 @@ namespace Mesen.GUI.Debugger
|
||||||
IsRam = true
|
IsRam = true
|
||||||
};
|
};
|
||||||
|
|
||||||
match = _segmentPrgRomRegex.Match(row);
|
if(segment.Start >= 0x4020) {
|
||||||
if(match.Success && !row.Contains("type=rw")) {
|
match = _segmentPrgRomRegex.Match(row);
|
||||||
segment.FileOffset = Int32.Parse(match.Groups[4].Value);
|
if(match.Success && !row.Contains("type=rw")) {
|
||||||
segment.IsRam = false;
|
segment.FileOffset = Int32.Parse(match.Groups[4].Value);
|
||||||
|
segment.IsRam = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_segments.Add(segment.ID, segment);
|
_segments.Add(segment.ID, segment);
|
||||||
|
|
Loading…
Add table
Reference in a new issue