diff --git a/BizHawk.Client.Common/tools/RamSearchEngine.cs b/BizHawk.Client.Common/tools/RamSearchEngine.cs index e35ae7527b..56bb121a33 100644 --- a/BizHawk.Client.Common/tools/RamSearchEngine.cs +++ b/BizHawk.Client.Common/tools/RamSearchEngine.cs @@ -617,14 +617,14 @@ namespace BizHawk.Client.Common case ComparisonOperator.Equal: if (_settings.Type == Watch.DisplayType.Float) { - return watchList.Where(x => ToFloat(GetValue(x.Address)) == _compareValue.Value); + return watchList.Where(x => ToFloat(GetValue(x.Address)) == ToFloat(_compareValue.Value)); } return watchList.Where(x => GetValue(x.Address) == _compareValue.Value); case ComparisonOperator.NotEqual: if (_settings.Type == Watch.DisplayType.Float) { - return watchList.Where(x => ToFloat(GetValue(x.Address)) != _compareValue.Value); + return watchList.Where(x => ToFloat(GetValue(x.Address)) != ToFloat(_compareValue.Value)); } return watchList.Where(x => GetValue(x.Address) != _compareValue.Value);