mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-11-27 11:20:49 +01:00
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
22 lines
541 B
C#
22 lines
541 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.FspSrv
|
|
{
|
|
public struct DirectoryEntry
|
|
{
|
|
public string Path { get; private set; }
|
|
public long Size { get; private set; }
|
|
|
|
public DirectoryEntryType EntryType { get; set; }
|
|
|
|
public DirectoryEntry(string Path, DirectoryEntryType DirectoryEntryType, long Size = 0)
|
|
{
|
|
this.Path = Path;
|
|
EntryType = DirectoryEntryType;
|
|
this.Size = Size;
|
|
}
|
|
}
|
|
}
|