2023-03-02 02:42:27 +00:00
|
|
|
|
using LibHac.Tools.FsSystem.NcaUtils;
|
2018-11-18 19:37:41 +00:00
|
|
|
|
|
2022-03-22 19:46:16 +00:00
|
|
|
|
namespace Ryujinx.HLE.FileSystem
|
2018-11-18 19:37:41 +00:00
|
|
|
|
{
|
|
|
|
|
public struct LocationEntry
|
|
|
|
|
{
|
2023-07-16 18:31:14 +01:00
|
|
|
|
public string ContentPath { get; private set; }
|
|
|
|
|
public int Flag { get; private set; }
|
|
|
|
|
public ulong TitleId { get; private set; }
|
2019-10-17 07:17:44 +01:00
|
|
|
|
public NcaContentType ContentType { get; private set; }
|
2018-11-18 19:37:41 +00:00
|
|
|
|
|
2021-04-24 11:16:01 +01:00
|
|
|
|
public LocationEntry(string contentPath, int flag, ulong titleId, NcaContentType contentType)
|
2018-11-18 19:37:41 +00:00
|
|
|
|
{
|
2018-12-06 11:16:24 +00:00
|
|
|
|
ContentPath = contentPath;
|
2023-07-16 18:31:14 +01:00
|
|
|
|
Flag = flag;
|
|
|
|
|
TitleId = titleId;
|
2018-12-06 11:16:24 +00:00
|
|
|
|
ContentType = contentType;
|
2018-11-18 19:37:41 +00:00
|
|
|
|
}
|
|
|
|
|
|
2018-12-06 11:16:24 +00:00
|
|
|
|
public void SetFlag(int flag)
|
2018-11-18 19:37:41 +00:00
|
|
|
|
{
|
2018-12-06 11:16:24 +00:00
|
|
|
|
Flag = flag;
|
2018-11-18 19:37:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|