mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 01:25:25 +00:00
ecee34a50c
* Update LibHac to 0.18.0 * Change instance of AsBytes(CreateReadOnlySpan(...)) to AsReadOnlyByteSpan(...)
26 lines
731 B
C#
26 lines
731 B
C#
using LibHac.Tools.FsSystem.NcaUtils;
|
|
|
|
namespace Ryujinx.HLE.FileSystem
|
|
{
|
|
public struct LocationEntry
|
|
{
|
|
public string ContentPath { get; private set; }
|
|
public int Flag { get; private set; }
|
|
public ulong TitleId { get; private set; }
|
|
public NcaContentType ContentType { get; private set; }
|
|
|
|
public LocationEntry(string contentPath, int flag, ulong titleId, NcaContentType contentType)
|
|
{
|
|
ContentPath = contentPath;
|
|
Flag = flag;
|
|
TitleId = titleId;
|
|
ContentType = contentType;
|
|
}
|
|
|
|
public void SetFlag(int flag)
|
|
{
|
|
Flag = flag;
|
|
}
|
|
}
|
|
}
|