Skip processing application for LDN if it does not have control holder

This commit is contained in:
WilliamWsyHK 2024-12-29 00:53:59 +08:00
parent cbd851d00e
commit f5dcf671e8

View file

@ -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] =