forked from Mirror/Ryujinx
fe8fbb6fb9
* Implement contentmanager and related services * small changes * read system firmware version from nand * add pfs support, write directoryentry info for romfs files * add file check in fsp-srv:8 * add support for open fs of internal files * fix filename when accessing pfs * use switch style paths for contentpath * close nca after verifying type * removed publishing profiles, align directory entry * fix style * lots of style fixes * yasf(yet another style fix) * yasf(yet another style fix) plus symbols * enforce path check on every fs access * change enum type to default * fix typo
28 lines
791 B
C#
28 lines
791 B
C#
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; }
|
|
|
|
public LocationEntry(string ContentPath, int Flag, long TitleId, ContentType ContentType)
|
|
{
|
|
this.ContentPath = ContentPath;
|
|
this.Flag = Flag;
|
|
this.TitleId = TitleId;
|
|
this.ContentType = ContentType;
|
|
}
|
|
|
|
public void SetFlag(int Flag)
|
|
{
|
|
this.Flag = Flag;
|
|
}
|
|
}
|
|
}
|