JinxRyu/Ryujinx.HLE/FileSystem/Content/LocationEntry.cs

26 lines
711 B
C#
Raw Normal View History

using LibHac.Fs.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 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;
}
}
}