From 5117b21c522096bc440e7b97496206d33218eda5 Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Sun, 10 Jan 2021 19:47:13 -0800 Subject: [PATCH] Only attempt to import common tickets. (#1886) --- Ryujinx.HLE/FileSystem/VirtualFileSystem.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs b/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs index 5b44f2d7..4ba5df00 100644 --- a/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs +++ b/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs @@ -269,7 +269,10 @@ namespace Ryujinx.HLE.FileSystem { 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))); + } } } }