Debugger: Fixed memory labels when load/run values are different (in LD65 config)

This commit is contained in:
Sour 2018-08-19 15:07:21 -04:00
parent 02e163f996
commit 0cd345cbca

View file

@ -162,11 +162,13 @@ namespace Mesen.GUI.Debugger
IsRam = true
};
if(segment.Start >= 0x4020) {
match = _segmentPrgRomRegex.Match(row);
if(match.Success && !row.Contains("type=rw")) {
segment.FileOffset = Int32.Parse(match.Groups[4].Value);
segment.IsRam = false;
}
}
_segments.Add(segment.ID, segment);
return true;