2019-10-16 23:17:44 -07:00
|
|
|
|
using LibHac.FsSystem.NcaUtils;
|
2018-11-18 11:37:41 -08:00
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.FileSystem.Content
|
|
|
|
|
{
|
|
|
|
|
public struct LocationEntry
|
|
|
|
|
{
|
2019-10-16 23:17:44 -07:00
|
|
|
|
public string ContentPath { get; private set; }
|
|
|
|
|
public int Flag { get; private set; }
|
|
|
|
|
public long TitleId { get; private set; }
|
|
|
|
|
public NcaContentType ContentType { get; private set; }
|
2018-11-18 11:37:41 -08:00
|
|
|
|
|
2019-10-16 23:17:44 -07:00
|
|
|
|
public LocationEntry(string contentPath, int flag, long titleId, NcaContentType contentType)
|
2018-11-18 11:37:41 -08:00
|
|
|
|
{
|
2018-12-06 03:16:24 -08:00
|
|
|
|
ContentPath = contentPath;
|
|
|
|
|
Flag = flag;
|
|
|
|
|
TitleId = titleId;
|
|
|
|
|
ContentType = contentType;
|
2018-11-18 11:37:41 -08:00
|
|
|
|
}
|
|
|
|
|
|
2018-12-06 03:16:24 -08:00
|
|
|
|
public void SetFlag(int flag)
|
2018-11-18 11:37:41 -08:00
|
|
|
|
{
|
2018-12-06 03:16:24 -08:00
|
|
|
|
Flag = flag;
|
2018-11-18 11:37:41 -08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|