aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/FileSystem/LocationEntry.cs
blob: a60c28967039542f395a1a14f7809f0636e148f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using LibHac.Tools.FsSystem.NcaUtils;

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;
        }
    }
}