From 7d7c0628228dc3f506b43d62bf5302c143b0b4bc Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 28 Sep 2013 21:54:42 +0000 Subject: [PATCH] Ram Search - when switching sizes, if the selected display type is no longer valid, set it to the default --- BizHawk.MultiClient/tools/Watch/RamSearch.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/tools/Watch/RamSearch.cs b/BizHawk.MultiClient/tools/Watch/RamSearch.cs index 1c9f6705f6..e709214617 100644 --- a/BizHawk.MultiClient/tools/Watch/RamSearch.cs +++ b/BizHawk.MultiClient/tools/Watch/RamSearch.cs @@ -461,7 +461,12 @@ namespace BizHawk.MultiClient { SpecificValueBox.Text = "0"; } - + + if (!Watch.AvailableTypes(size).Contains(Settings.Type)) + { + Settings.Type = Watch.AvailableTypes(size)[0]; + } + SetReboot(true); }