mirror of
https://github.com/SabreTools/NDecrypt.git
synced 2026-09-23 15:24:50 +00:00
It's very strange but there are some files that don't decrypt/re-encrypt properly at this point. It could be a key issue, but it's unknown for now.
29 lines
680 B
C#
29 lines
680 B
C#
using System.IO;
|
|
|
|
namespace ThreeDS.Headers
|
|
{
|
|
public class ARM11KernelCapabilities
|
|
{
|
|
public byte[][] Descriptors = new byte[28][];
|
|
public byte[] Reserved = new byte[0x10];
|
|
|
|
public static ARM11KernelCapabilities Read(BinaryReader reader)
|
|
{
|
|
ARM11KernelCapabilities kc = new ARM11KernelCapabilities();
|
|
|
|
try
|
|
{
|
|
for (int i = 0; i < 28; i++)
|
|
kc.Descriptors[i] = reader.ReadBytes(4);
|
|
|
|
kc.Reserved = reader.ReadBytes(0x10);
|
|
return kc;
|
|
}
|
|
catch
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|