Ram watch - fix logic when deciding whether to keep the current watch list when rebooting the core, the check was always failing

This commit is contained in:
adelikat 2017-01-29 19:32:52 -06:00
parent af1a2547ae
commit c5ff514760
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ namespace BizHawk.Client.EmuHawk
if (_watches != null
&& !string.IsNullOrWhiteSpace(_watches.CurrentFileName)
&& _watches.All(w => _memoryDomains.Contains(w.Domain)))
&& _watches.All(w => _memoryDomains.Select(m => m.Name).Contains(w.Domain.Name)))
{
_watches.RefreshDomains(_memoryDomains);
_watches.Reload();