From 4472196b484d7814176cd2786e603584bb9fd169 Mon Sep 17 00:00:00 2001 From: Xpl0itR Date: Tue, 23 Jun 2020 12:25:12 +0100 Subject: [PATCH] Import DLC title key from ticket when loading into content manager (#1318) --- Ryujinx.HLE/FileSystem/Content/ContentManager.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Ryujinx.HLE/FileSystem/Content/ContentManager.cs b/Ryujinx.HLE/FileSystem/Content/ContentManager.cs index 1b9ea1436e..2bcb2266e1 100644 --- a/Ryujinx.HLE/FileSystem/Content/ContentManager.cs +++ b/Ryujinx.HLE/FileSystem/Content/ContentManager.cs @@ -249,6 +249,12 @@ namespace Ryujinx.HLE.FileSystem.Content else { Logger.PrintInfo(LogClass.Application, $"Found AddOnContent with TitleId {titleId:X16}"); + + using (FileStream fileStream = File.OpenRead(containerPath)) + using (PartitionFileSystem pfs = new PartitionFileSystem(fileStream.AsStorage())) + { + _virtualFileSystem.ImportTickets(pfs); + } } }