mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-07 08:49:47 +00:00
makerom v0.7
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
static const int CIA_ALIGN_SIZE = 0x40;
|
||||
|
||||
// Enums
|
||||
typedef enum
|
||||
{
|
||||
@@ -121,4 +123,16 @@ typedef struct
|
||||
} cia_settings;
|
||||
|
||||
// Public Prototypes
|
||||
int build_CIA(user_settings *usrset);
|
||||
int build_CIA(user_settings *usrset);
|
||||
|
||||
// Cia Read Functions
|
||||
u64 GetCiaCertOffset(cia_hdr *hdr);
|
||||
u64 GetCiaCertSize(cia_hdr *hdr);
|
||||
u64 GetTikOffset(cia_hdr *hdr);
|
||||
u64 GetTikSize(cia_hdr *hdr);
|
||||
u64 GetTmdOffset(cia_hdr *hdr);
|
||||
u64 GetTmdSize(cia_hdr *hdr);
|
||||
u64 GetContentOffset(cia_hdr *hdr);
|
||||
u64 GetContentSize(cia_hdr *hdr);
|
||||
u64 GetMetaOffset(cia_hdr *hdr);
|
||||
u64 GetMetaSize(cia_hdr *hdr);
|
||||
Reference in New Issue
Block a user