aboutsummaryrefslogblamecommitdiff
path: root/Ryujinx.HLE/FileSystem/Content/LocationEntry.cs
blob: 15485148e02b5cc295a468b1f7efdb71afe1a1b2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                  



                                        


                                                               
 
                                                                                                    
         


                                      
         
                                     
         
                        

         
using LibHac.FsSystem.NcaUtils;

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 NcaContentType ContentType { get; private set; }

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

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