mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-08-19 23:28:42 +02:00
Only attempt to import common tickets. (#1886)
This commit is contained in:
parent
3c09abf9e6
commit
5117b21c52
1 changed files with 4 additions and 1 deletions
|
@ -269,7 +269,10 @@ namespace Ryujinx.HLE.FileSystem
|
||||||
{
|
{
|
||||||
Ticket ticket = new Ticket(ticketFile.AsStream());
|
Ticket ticket = new Ticket(ticketFile.AsStream());
|
||||||
|
|
||||||
KeySet.ExternalKeySet.Add(new RightsId(ticket.RightsId), new AccessKey(ticket.GetTitleKey(KeySet)));
|
if (ticket.TitleKeyType == TitleKeyType.Common)
|
||||||
|
{
|
||||||
|
KeySet.ExternalKeySet.Add(new RightsId(ticket.RightsId), new AccessKey(ticket.GetTitleKey(KeySet)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue