AutoLoad DLC/updates #12

Merged
J-Swift merged 38 commits from feature/auto-load-extra-files into master 2024-10-08 01:08:41 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 13bac28e43 - Show all commits

View File

@ -208,8 +208,8 @@ namespace Ryujinx.Ava.UI.ViewModels
return false;
}
var dlcsForThisGame = dlcs.Where(it => it.TitleIdBase == _applicationData.IdBase);
if (!dlcsForThisGame.Any())
var dlcsForThisGame = dlcs.Where(it => it.TitleIdBase == _applicationData.IdBase).ToList();
if (dlcsForThisGame.Count == 0)
{
return false;
}

View File

@ -146,8 +146,8 @@ namespace Ryujinx.Ava.UI.ViewModels
return false;
}
var updatesForThisGame = updates.Where(it => it.TitleIdBase == ApplicationData.Id);
if (!updatesForThisGame.Any())
var updatesForThisGame = updates.Where(it => it.TitleIdBase == ApplicationData.Id).ToList();
if (updatesForThisGame.Count == 0)
{
return false;
}