From c5ff514760ef7720a6ff71c5fcbde6377cec2ded Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 29 Jan 2017 19:32:52 -0600 Subject: [PATCH] Ram watch - fix logic when deciding whether to keep the current watch list when rebooting the core, the check was always failing --- BizHawk.Client.EmuHawk/tools/Watch/RamWatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.cs b/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.cs index c99095a7ef..4dde3a5d84 100644 --- a/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.cs +++ b/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.cs @@ -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();