0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-23 19:05:46 +00:00

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 else
{ {
Logger.PrintInfo(LogClass.Application, $"Found AddOnContent with TitleId {titleId:X16}"); 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);
}
} }
} }