Leave comment in `FindIOSurfaceInfo`

fixes 7ee0e0afa
This commit is contained in:
James Groom 2024-03-08 13:42:47 +10:00 committed by GitHub
parent 7ee0e0afac
commit 615c2eaf88
1 changed files with 1 additions and 0 deletions

View File

@ -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)