Line 2:
Line 2:
typedef struct {
typedef struct {
char ID[4]; // An ID
char ID[4]; // An ID
−
unsigned char pad[0x84];
+
unsigned char pad[0x80];
+
unsigned long number; // number of titles
} sHNHA_Header;
} sHNHA_Header;
−
+
typedef struct {
typedef struct {
char TID[4]; // Title ID
char TID[4]; // Title ID
Line 10:
Line 11:
unsigned char SHA[2][20]; // the two SHA-1 sums
unsigned char SHA[2][20]; // the two SHA-1 sums
} sHNHA_Title;
} sHNHA_Title;
−
+
typedef struct {
typedef struct {
unsigned char pad[0x18];
unsigned char pad[0x18];
} sHNHA_Footer;
} sHNHA_Footer;
−
--[[User:Ludo6431|Ludo6431]] 19:56, 5 August 2009 (UTC)
+
--[[User:Ludo6431|Ludo6431]] 19:59, 5 August 2009 (UTC)
== C dumper ==
== C dumper ==