aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/FileSystem/Content/LocationEntry.cs
blob: c7c6133b583511cb543d6ea5c4f5368ac076f477 (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
26
27
28
using System;
using System.Collections.Generic;
using System.Text;
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)
        {
            this.ContentPath = ContentPath;
            this.Flag        = Flag;
            this.TitleId     = TitleId;
            this.ContentType = ContentType;
        }

        public void SetFlag(int Flag)
        {
            this.Flag = Flag;
        }
    }
}