Skip to content

Commit

Permalink
Address comment from GreemDev
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamWsyHK committed Dec 29, 2024
1 parent f5dcf67 commit 36c0614
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Ryujinx/UI/Windows/MainWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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] =
Expand Down

0 comments on commit 36c0614

Please sign in to comment.