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