2018-12-04 21:23:37 +01:00
|
|
|
|
using LibHac;
|
2018-11-18 20:37:41 +01:00
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.FileSystem.Content
|
|
|
|
|
{
|
|
|
|
|
public struct LocationEntry
|
|
|
|
|
{
|
2018-12-04 21:23:37 +01:00
|
|
|
|
public string ContentPath { get; }
|
2018-11-18 20:37:41 +01:00
|
|
|
|
public int Flag { get; private set; }
|
2018-12-04 21:23:37 +01:00
|
|
|
|
public long TitleId { get; }
|
|
|
|
|
public ContentType ContentType { get; }
|
2018-11-18 20:37:41 +01:00
|
|
|
|
|
2018-12-04 21:23:37 +01:00
|
|
|
|
public LocationEntry(string contentPath, int flag, long titleId, ContentType contentType)
|
2018-11-18 20:37:41 +01:00
|
|
|
|
{
|
2018-12-04 21:23:37 +01:00
|
|
|
|
ContentPath = contentPath;
|
|
|
|
|
Flag = flag;
|
|
|
|
|
TitleId = titleId;
|
|
|
|
|
ContentType = contentType;
|
2018-11-18 20:37:41 +01:00
|
|
|
|
}
|
|
|
|
|
|
2018-12-04 21:23:37 +01:00
|
|
|
|
public void SetFlag(int flag)
|
2018-11-18 20:37:41 +01:00
|
|
|
|
{
|
2018-12-04 21:23:37 +01:00
|
|
|
|
Flag = flag;
|
2018-11-18 20:37:41 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|