aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/FileSystem/Content/ContentManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/FileSystem/Content/ContentManager.cs')
-rw-r--r--Ryujinx.HLE/FileSystem/Content/ContentManager.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Ryujinx.HLE/FileSystem/Content/ContentManager.cs b/Ryujinx.HLE/FileSystem/Content/ContentManager.cs
index 1b9ea143..2bcb2266 100644
--- a/Ryujinx.HLE/FileSystem/Content/ContentManager.cs
+++ b/Ryujinx.HLE/FileSystem/Content/ContentManager.cs
@@ -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);
+ }
}
}