aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/FileSystem/LocationEntry.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/FileSystem/LocationEntry.cs')
-rw-r--r--Ryujinx.HLE/FileSystem/LocationEntry.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/Ryujinx.HLE/FileSystem/LocationEntry.cs b/Ryujinx.HLE/FileSystem/LocationEntry.cs
new file mode 100644
index 00000000..45cbc8cd
--- /dev/null
+++ b/Ryujinx.HLE/FileSystem/LocationEntry.cs
@@ -0,0 +1,25 @@
+using LibHac.FsSystem;
+
+namespace Ryujinx.HLE.FileSystem
+{
+ public struct LocationEntry
+ {
+ public string ContentPath { get; private set; }
+ public int Flag { get; private set; }
+ public ulong TitleId { get; private set; }
+ public NcaContentType ContentType { get; private set; }
+
+ public LocationEntry(string contentPath, int flag, ulong titleId, NcaContentType contentType)
+ {
+ ContentPath = contentPath;
+ Flag = flag;
+ TitleId = titleId;
+ ContentType = contentType;
+ }
+
+ public void SetFlag(int flag)
+ {
+ Flag = flag;
+ }
+ }
+}