mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-21 00:05:06 +00:00
Add N3DS builder
This commit is contained in:
18
BurnOutSharp.Models/N3DS/Cart.cs
Normal file
18
BurnOutSharp.Models/N3DS/Cart.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace BurnOutSharp.Models.N3DS
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a 3DS cart image
|
||||
/// </summary>
|
||||
public class Cart
|
||||
{
|
||||
/// <summary>
|
||||
/// 3DS cart header
|
||||
/// </summary>
|
||||
public NCSDHeader Header { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// NCCH partitions
|
||||
/// </summary>
|
||||
public NCCHHeader[] Partitions { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -44,7 +44,7 @@
|
||||
/// <summary>
|
||||
/// Program ID
|
||||
/// </summary>
|
||||
public ulong ProgramId;
|
||||
public byte[] ProgramId;
|
||||
|
||||
/// <summary>
|
||||
/// Reserved
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
/// </summary>
|
||||
public byte[] RSA2048Signature;
|
||||
|
||||
/// <summary>
|
||||
/// Magic Number 'NCSD'
|
||||
/// </summary>
|
||||
public string MagicNumber;
|
||||
|
||||
/// <summary>
|
||||
/// Size of the NCSD image, in media units (1 media unit = 0x200 bytes)
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user