Debugger: Fixed breakpoint highlighting when BP is on current statement

This commit is contained in:
Souryo 2017-08-05 14:54:20 -04:00
parent fb5bf36c91
commit 62a10de12a

View file

@ -836,7 +836,7 @@ namespace Mesen.GUI.Debugger
symbol = LineSymbol.CircleOutline;
}
if(breakpoint.Address == (UInt32)(_code._currentActiveAddress.HasValue ? (int)_code._currentActiveAddress.Value : -1)) {
if(_code._currentActiveAddress.HasValue && breakpoint.Matches((int)_code._currentActiveAddress.Value)) {
fgColor = Color.Black;
bgColor = Color.Yellow;
symbol |= LineSymbol.Arrow;