1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-18 02:12:01 +00:00
Ryujinx/Ryujinx.HLE/Loaders/Npdm/FSAccessControl.cs

29 lines
891 B
C#
Raw Normal View History

using System.IO;
namespace Ryujinx.HLE.Loaders.Npdm
{
public class FSAccessControl
{
public int Version;
public ulong PermissionsBitmask;
public int Unknown1;
public int Unknown2;
public int Unknown3;
public int Unknown4;
public FSAccessControl(Stream FSAccessHeaderStream, int Offset, int Size)
{
FSAccessHeaderStream.Seek(Offset, SeekOrigin.Begin);
BinaryReader Reader = new BinaryReader(FSAccessHeaderStream);
Version = Reader.ReadInt32();
PermissionsBitmask = Reader.ReadUInt64();
Unknown1 = Reader.ReadInt32();
Unknown2 = Reader.ReadInt32();
Unknown3 = Reader.ReadInt32();
Unknown4 = Reader.ReadInt32();
}
}
}