diff --git a/src/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs b/src/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs index 4d891eb276..b2707dc03a 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs @@ -187,7 +187,7 @@ namespace BizHawk.Client.EmuHawk private void ListView_QueryItemBkColor(int index, RollColumn column, ref Color color) { - if (_searches.Count > 0) + if ((_searches.Count > 0) && (index < _searches.Count)) { var nextColor = Color.White;