mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 10:05:25 +00:00
305f06eb71
* Make all title id instances unsigned * Replace address and size with ulong instead of signed types Long overdue change. Also change some logics here and there to optimize with the new memory manager. * Address Ac_K's comments * Remove uneeded cast all around * Fixes some others misalignment
26 lines
733 B
C#
26 lines
733 B
C#
using LibHac.FsSystem.NcaUtils;
|
|
|
|
namespace Ryujinx.HLE.FileSystem.Content
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|