From 3d33c3fa21be449f88f891a842ff3e3911a36189 Mon Sep 17 00:00:00 2001 From: adelikat Date: Fri, 18 Oct 2019 20:04:15 -0500 Subject: [PATCH] Ram Search - fix GoTo Address --- BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs b/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs index 4d82362c12..5e520273f9 100644 --- a/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs +++ b/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs @@ -797,7 +797,7 @@ namespace BizHawk.Client.EmuHawk { var subMenu = (ToolStripMenuItem)RamSearchMenu.Items .Cast() - .Single(t => t.Name == "GeneratedColumnsSubMenu"); // InputRoll TODO - make name a constant + .Single(t => t.Name == "GeneratedColumnsSubMenu"); // TODO - make name a constant return subMenu.DropDownItems .Cast() .Single(t => t.Name == WatchList.CHANGES); @@ -948,8 +948,7 @@ namespace BizHawk.Client.EmuHawk if (_searches[index].Address == addr) { WatchListView.SelectRow(index, true); - // InputRoll TODO: - //WatchListView.ensureVisible(); + WatchListView.ScrollToIndex(index); return; // Don't re-show dialog on success } }