Ryujinx/Ryujinx.HLE/FileSystem/LocationEntry.cs

26 lines
716 B
C#
Raw Normal View History

2022-01-12 12:22:19 +01:00
using LibHac.FsSystem;
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;
}
}
}