From 615c2eaf88fbf70a159bf8ebe75c641c7d666678 Mon Sep 17 00:00:00 2001 From: James Groom Date: Fri, 8 Mar 2024 13:42:47 +1000 Subject: [PATCH] Leave comment in `FindIOSurfaceInfo` fixes 7ee0e0afa --- src/BizHawk.Client.Common/DisplayManager/Filters/BaseFilter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BizHawk.Client.Common/DisplayManager/Filters/BaseFilter.cs b/src/BizHawk.Client.Common/DisplayManager/Filters/BaseFilter.cs index 5d18849a5b..d625c3b00a 100644 --- a/src/BizHawk.Client.Common/DisplayManager/Filters/BaseFilter.cs +++ b/src/BizHawk.Client.Common/DisplayManager/Filters/BaseFilter.cs @@ -151,6 +151,7 @@ namespace BizHawk.Client.Common.Filters private IOSurfaceInfo FindIOSurfaceInfo(string channel, SurfaceDirection direction) { + // intentionally not using List.Find for perf foreach (var iosi in _ioSurfaceInfos) { if (iosi.Channel == channel && iosi.SurfaceDirection == direction)