This reverts commit 85dbb9559a
.
This commit is contained in:
parent
85dbb9559a
commit
3615a70cae
299 changed files with 12276 additions and 12268 deletions
|
@ -4,19 +4,19 @@ namespace Ryujinx.HLE.Loaders.Npdm
|
|||
{
|
||||
class KernelAccessControl
|
||||
{
|
||||
public int[] Capabilities { get; }
|
||||
public int[] Capabilities { get; private set; }
|
||||
|
||||
public KernelAccessControl(Stream stream, int offset, int size)
|
||||
public KernelAccessControl(Stream Stream, int Offset, int Size)
|
||||
{
|
||||
stream.Seek(offset, SeekOrigin.Begin);
|
||||
Stream.Seek(Offset, SeekOrigin.Begin);
|
||||
|
||||
Capabilities = new int[size / 4];
|
||||
Capabilities = new int[Size / 4];
|
||||
|
||||
BinaryReader reader = new BinaryReader(stream);
|
||||
BinaryReader Reader = new BinaryReader(Stream);
|
||||
|
||||
for (int index = 0; index < Capabilities.Length; index++)
|
||||
for (int Index = 0; Index < Capabilities.Length; Index++)
|
||||
{
|
||||
Capabilities[index] = reader.ReadInt32();
|
||||
Capabilities[Index] = Reader.ReadInt32();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue