Import DLC title key from ticket when loading into content manager (#1318)

This commit is contained in:
Xpl0itR authored and Thog committed 2020-06-23 16:48:27 +02:00
1 parent b312c82a2c
commit 4472196b48
1 file changed
+6
@@ -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);
}
}
}