1
0
forked from MeloNX/MeloNX

Only attempt to import common tickets. (#1886)

This commit is contained in:
Steven Smith 2021-01-10 19:47:13 -08:00 committed by GitHub
parent 8e7b3e39fb
commit ded7380af0

View File

@ -269,10 +269,13 @@ namespace Ryujinx.HLE.FileSystem
{
Ticket ticket = new Ticket(ticketFile.AsStream());
if (ticket.TitleKeyType == TitleKeyType.Common)
{
KeySet.ExternalKeySet.Add(new RightsId(ticket.RightsId), new AccessKey(ticket.GetTitleKey(KeySet)));
}
}
}
}
public void Unload()
{