From e486b902b1ce0fcad8d76701b24784072e343160 Mon Sep 17 00:00:00 2001 From: WilliamWsyHK Date: Mon, 30 Dec 2024 15:53:06 +0800 Subject: [PATCH] Skip processing application for LDN if it does not have control holder (#460) [ci-skip] --- src/Ryujinx/UI/Windows/MainWindow.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs index 0b1c356d4..e5a815b28 100644 --- a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs +++ b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs @@ -170,7 +170,7 @@ namespace Ryujinx.Ava.UI.Windows { var ldnGameDataArray = e.LdnData.ToList(); ViewModel.LdnData.Clear(); - foreach (var application in ViewModel.Applications) + foreach (var application in ViewModel.Applications.Where(it => it.HasControlHolder)) { ref var controlHolder = ref application.ControlHolder.Value;