aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/FileSystem/Content/LocationEntry.cs
blob: eabcfed8548d2c1938cff1ab2a6d5f70d0fe103c (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;

namespace Ryujinx.HLE.FileSystem.Content
{
    public struct LocationEntry
    {
        public string      ContentPath { get; private set; }
        public int         Flag        { get; private set; }
        public long        TitleId     { get; private set; }
        public ContentType ContentType { get; private set; }

        public LocationEntry(string contentPath, int flag, long titleId, ContentType contentType)
        {
            ContentPath = contentPath;
            Flag        = flag;
            TitleId     = titleId;
            ContentType = contentType;
        }

        public void SetFlag(int flag)
        {
            Flag = flag;
        }
    }
}