From 64f5a0f216147147152a0cb9587eb4724002dc25 Mon Sep 17 00:00:00 2001 From: WilliamWsyHK Date: Sun, 29 Dec 2024 19:53:09 +0800 Subject: [PATCH] Address comment from GreemDev --- src/Ryujinx/UI/Windows/MainWindow.axaml.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs index 95a60dd7c..a9cac7f5b 100644 --- a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs +++ b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs @@ -169,13 +169,8 @@ private void ApplicationLibrary_LdnGameDataReceived(object sender, LdnGameDataRe { var ldnGameDataArray = e.LdnData.ToList(); ViewModel.LdnData.Clear(); - foreach (var application in ViewModel.Applications) + foreach (var application in ViewModel.Applications.Where(it => it.HasControlHolder)) { - if (!application.HasControlHolder) - { - continue; - } - ref var controlHolder = ref application.ControlHolder.Value; ViewModel.LdnData[application.IdString] =