2018-12-05 01:52:39 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using LibHac;
|
2018-11-18 20:37:41 +01:00
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.FileSystem.Content
|
|
|
|
|
{
|
|
|
|
|
public struct LocationEntry
|
|
|
|
|
{
|
2018-12-05 01:52:39 +01:00
|
|
|
|
public string ContentPath { get; private set; }
|
2018-11-18 20:37:41 +01:00
|
|
|
|
public int Flag { get; private set; }
|
2018-12-05 01:52:39 +01:00
|
|
|
|
public long TitleId { get; private set; }
|
|
|
|
|
public ContentType ContentType { get; private set; }
|
2018-11-18 20:37:41 +01:00
|
|
|
|
|
2018-12-05 01:52:39 +01:00
|
|
|
|
public LocationEntry(string ContentPath, int Flag, long TitleId, ContentType ContentType)
|
2018-11-18 20:37:41 +01:00
|
|
|
|
{
|
2018-12-05 01:52:39 +01:00
|
|
|
|
this.ContentPath = ContentPath;
|
|
|
|
|
this.Flag = Flag;
|
|
|
|
|
this.TitleId = TitleId;
|
|
|
|
|
this.ContentType = ContentType;
|
2018-11-18 20:37:41 +01:00
|
|
|
|
}
|
|
|
|
|
|
2018-12-05 01:52:39 +01:00
|
|
|
|
public void SetFlag(int Flag)
|
2018-11-18 20:37:41 +01:00
|
|
|
|
{
|
2018-12-05 01:52:39 +01:00
|
|
|
|
this.Flag = Flag;
|
2018-11-18 20:37:41 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|