Only shows Program NCAs in Application list
This commit is contained in:
parent
1e84e0aa73
commit
8bb785d008
1 changed files with 6 additions and 0 deletions
|
@ -295,6 +295,12 @@ namespace Ryujinx.UI
|
||||||
{
|
{
|
||||||
if (Path.GetExtension(applicationPath) == ".nca")
|
if (Path.GetExtension(applicationPath) == ".nca")
|
||||||
{
|
{
|
||||||
|
Nca nca = new Nca(KeySet, new FileStream(applicationPath, FileMode.Open, FileAccess.Read).AsStorage(false));
|
||||||
|
if (nca.Header.ContentType != ContentType.Program)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
applicationIcon = RyujinxNcaIcon;
|
applicationIcon = RyujinxNcaIcon;
|
||||||
}
|
}
|
||||||
else if (Path.GetExtension(applicationPath) == ".nso")
|
else if (Path.GetExtension(applicationPath) == ".nso")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue