From 1c82340cac86010408540cd85d84ae32d0ed6cbf Mon Sep 17 00:00:00 2001 From: scrimpeh Date: Mon, 29 Jun 2020 11:15:06 +0200 Subject: [PATCH] ram search - fix loading of wch files --- .../tools/RamSearchEngine/Extensions.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/BizHawk.Client.Common/tools/RamSearchEngine/Extensions.cs b/src/BizHawk.Client.Common/tools/RamSearchEngine/Extensions.cs index bf770c33a8..fce2196973 100644 --- a/src/BizHawk.Client.Common/tools/RamSearchEngine/Extensions.cs +++ b/src/BizHawk.Client.Common/tools/RamSearchEngine/Extensions.cs @@ -15,18 +15,18 @@ namespace BizHawk.Client.Common.RamSearchEngine public static IEnumerable ToBytes(this IEnumerable addresses, SearchEngineSettings settings) => settings.IsDetailed() - ? addresses.ToBytes(settings.Domain) - : addresses.ToDetailedBytes(settings.Domain); + ? addresses.ToDetailedBytes(settings.Domain) + : addresses.ToBytes(settings.Domain); public static IEnumerable ToWords(this IEnumerable addresses, SearchEngineSettings settings) => settings.IsDetailed() - ? addresses.ToWords(settings.Domain, settings.BigEndian) - : addresses.ToDetailedWords(settings.Domain, settings.BigEndian); + ? addresses.ToDetailedWords(settings.Domain, settings.BigEndian) + : addresses.ToWords(settings.Domain, settings.BigEndian); public static IEnumerable ToDWords(this IEnumerable addresses, SearchEngineSettings settings) => settings.IsDetailed() - ? addresses.ToDWords(settings.Domain, settings.BigEndian) - : addresses.ToDetailedDWords(settings.Domain, settings.BigEndian); + ? addresses.ToDetailedDWords(settings.Domain, settings.BigEndian) + : addresses.ToDWords(settings.Domain, settings.BigEndian); private static IEnumerable ToBytes(this IEnumerable addresses, MemoryDomain domain) => addresses.Select(a => new MiniByteWatch(domain, a));