Ram Search - fix "Exclude Ram Watch" option
This commit is contained in:
parent
30c7b32bc1
commit
cc1867326a
|
@ -347,7 +347,8 @@ namespace BizHawk.Client.Common
|
||||||
}
|
}
|
||||||
|
|
||||||
var addresses = watches.Select(x => x.Address);
|
var addresses = watches.Select(x => x.Address);
|
||||||
var removeList = _watchList.Where(x => !addresses.Contains(x.Address)).ToList();
|
var removeList = _watchList.Where(x => addresses.Contains(x.Address)).ToList();
|
||||||
|
_watchList = _watchList.Except(removeList).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RemoveRange(IEnumerable<int> indices)
|
public void RemoveRange(IEnumerable<int> indices)
|
||||||
|
|
Loading…
Reference in New Issue