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:
parent
af1a2547ae
commit
c5ff514760
|
@ -218,7 +218,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
if (_watches != null
|
if (_watches != null
|
||||||
&& !string.IsNullOrWhiteSpace(_watches.CurrentFileName)
|
&& !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.RefreshDomains(_memoryDomains);
|
||||||
_watches.Reload();
|
_watches.Reload();
|
||||||
|
|
Loading…
Reference in New Issue