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:
parent
b312c82a2c
commit
4472196b48
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue