mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-10 21:53:18 +02:00
Import DLC title key from ticket when loading into content manager (#1318)
This commit is contained in:
parent
b312c82a2c
commit
4472196b48
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user