forked from Mirror/Ryujinx
5fc1f6a1af
* It compiles * Print correct name when loading an exefs * Use DirectorySaveDataFileSystem for savedata * Handle more errors in IFileSystem * Remove structs replaced by LibHac structs * Fix alignment * Fix alignment again * Fix IFile and IFileSystem IPC * Alignment * Use released libhac version
25 lines
711 B
C#
25 lines
711 B
C#
using LibHac.Fs.NcaUtils;
|
|
|
|
namespace Ryujinx.HLE.FileSystem.Content
|
|
{
|
|
public struct LocationEntry
|
|
{
|
|
public string ContentPath { get; private set; }
|
|
public int Flag { get; private set; }
|
|
public long TitleId { get; private set; }
|
|
public ContentType ContentType { get; private set; }
|
|
|
|
public LocationEntry(string contentPath, int flag, long titleId, ContentType contentType)
|
|
{
|
|
ContentPath = contentPath;
|
|
Flag = flag;
|
|
TitleId = titleId;
|
|
ContentType = contentType;
|
|
}
|
|
|
|
public void SetFlag(int flag)
|
|
{
|
|
Flag = flag;
|
|
}
|
|
}
|
|
}
|