0
0
Fork 0

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

This commit is contained in:
Xpl0itR 2020-06-23 12:25:12 +01:00 committed by Thog
parent b312c82a2c
commit 4472196b48

View file

@ -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);
}
}
}