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