From ece435555d86b8af4733452b993db1cee6271733 Mon Sep 17 00:00:00 2001 From: adelikat Date: Wed, 25 Sep 2013 02:12:58 +0000 Subject: [PATCH] New Ram Search - Exclude Ram Watch feature - update totals when removing addresses, do remove on Add To Ram Watch --- BizHawk.MultiClient/tools/Watch/NewRamSearch.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BizHawk.MultiClient/tools/Watch/NewRamSearch.cs b/BizHawk.MultiClient/tools/Watch/NewRamSearch.cs index 2e6e11bdab..c3164d2225 100644 --- a/BizHawk.MultiClient/tools/Watch/NewRamSearch.cs +++ b/BizHawk.MultiClient/tools/Watch/NewRamSearch.cs @@ -434,6 +434,11 @@ namespace BizHawk.MultiClient { Global.MainForm.NewRamWatch1.AddWatch(Searches[SelectedIndices[x]]); } + + if (Global.Config.RamSearchAlwaysExcludeRamWatch) + { + RemoveRamWatchesFromList(); + } } } @@ -491,6 +496,7 @@ namespace BizHawk.MultiClient private void RemoveRamWatchesFromList() { Searches.RemoveRange(Global.MainForm.NewRamWatch1.AddressList); + SetTotal(); } #endregion