2018-11-18 19:37:41 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using LibHac;
|
|
|
|
|
|
|
|
|
|
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; }
|
|
|
|
|
|
2018-12-01 20:01:59 +00:00
|
|
|
|
public LocationEntry(string contentPath, int flag, long titleId, ContentType contentType)
|
2018-11-18 19:37:41 +00:00
|
|
|
|
{
|
2018-12-01 20:24:37 +00:00
|
|
|
|
ContentPath = contentPath;
|
|
|
|
|
Flag = flag;
|
|
|
|
|
TitleId = titleId;
|
|
|
|
|
ContentType = contentType;
|
2018-11-18 19:37:41 +00:00
|
|
|
|
}
|
|
|
|
|
|
2018-12-01 20:01:59 +00:00
|
|
|
|
public void SetFlag(int flag)
|
2018-11-18 19:37:41 +00:00
|
|
|
|
{
|
2018-12-01 20:24:37 +00:00
|
|
|
|
Flag = flag;
|
2018-11-18 19:37:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|