From f5dcf671e8522d67e14401c8aeaf094587ed1714 Mon Sep 17 00:00:00 2001 From: WilliamWsyHK Date: Sun, 29 Dec 2024 00:53:59 +0800 Subject: [PATCH] Skip processing application for LDN if it does not have control holder --- src/Ryujinx/UI/Windows/MainWindow.axaml.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs index da4314e79..95a60dd7c 100644 --- a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs +++ b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs @@ -171,6 +171,11 @@ namespace Ryujinx.Ava.UI.Windows ViewModel.LdnData.Clear(); foreach (var application in ViewModel.Applications) { + if (!application.HasControlHolder) + { + continue; + } + ref var controlHolder = ref application.ControlHolder.Value; ViewModel.LdnData[application.IdString] =