From 1d6fad38723a355ca88885c0209648d36d68140e Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 28 Sep 2013 00:48:45 +0000 Subject: [PATCH] New Ram Search - oops --- BizHawk.MultiClient/tools/Watch/NewRamSearch.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BizHawk.MultiClient/tools/Watch/NewRamSearch.cs b/BizHawk.MultiClient/tools/Watch/NewRamSearch.cs index 79511e32f9..48018250ed 100644 --- a/BizHawk.MultiClient/tools/Watch/NewRamSearch.cs +++ b/BizHawk.MultiClient/tools/Watch/NewRamSearch.cs @@ -1125,6 +1125,7 @@ namespace BizHawk.MultiClient if (String.IsNullOrWhiteSpace(SpecificValueBox.Text)) { SpecificValueBox.Text = "0"; + Searches.CompareValue = 0; } SpecificValueBox.Focus(); SpecificAddressBox.Enabled = false; @@ -1140,6 +1141,7 @@ namespace BizHawk.MultiClient if (String.IsNullOrWhiteSpace(SpecificAddressBox.Text)) { SpecificAddressBox.Text = "0"; + Searches.CompareValue = 0; } SpecificAddressBox.Focus(); NumberOfChangesBox.Enabled = false; @@ -1155,6 +1157,7 @@ namespace BizHawk.MultiClient if (String.IsNullOrWhiteSpace(NumberOfChangesBox.Text)) { NumberOfChangesBox.Text = "0"; + Searches.CompareValue = 0; } NumberOfChangesBox.Focus(); DifferenceBox.Enabled = false; @@ -1170,6 +1173,7 @@ namespace BizHawk.MultiClient if (String.IsNullOrWhiteSpace(DifferenceBox.Text)) { DifferenceBox.Text = "0"; + Searches.CompareValue = 0; } DifferenceBox.Focus(); SetCompareTo(RamSearchEngine.Compare.Difference);