2017-10-16 11:55:29 +02:00
|
|
|
#ifndef _TITLE_H_
|
|
|
|
#define _TITLE_H_
|
|
|
|
|
2024-04-27 19:17:23 +02:00
|
|
|
#include <ogc/es.h>
|
|
|
|
|
2017-10-16 11:55:29 +02:00
|
|
|
/* Constants */
|
2024-03-01 13:23:30 +01:00
|
|
|
#define BLOCK_SIZE 0x4000
|
2017-10-16 11:55:29 +02:00
|
|
|
|
2024-04-27 19:17:23 +02:00
|
|
|
/* Variables */
|
|
|
|
extern aeskey WiiCommonKey, vWiiCommonKey;
|
|
|
|
|
2017-10-16 11:55:29 +02:00
|
|
|
/* Prototypes */
|
|
|
|
s32 Title_ZeroSignature(signed_blob *);
|
|
|
|
s32 Title_FakesignTik(signed_blob *);
|
|
|
|
s32 Title_FakesignTMD(signed_blob *);
|
|
|
|
s32 Title_GetList(u64 **, u32 *);
|
|
|
|
s32 Title_GetTicketViews(u64, tikview **, u32 *);
|
|
|
|
s32 Title_GetTMD(u64, signed_blob **, u32 *);
|
|
|
|
s32 Title_GetVersion(u64, u16 *);
|
|
|
|
s32 Title_GetSysVersion(u64, u64 *);
|
|
|
|
s32 Title_GetSize(u64, u32 *);
|
|
|
|
s32 Title_GetIOSVersions(u8 **, u32 *);
|
2024-04-27 19:17:23 +02:00
|
|
|
void Title_SetupCommonKeys(void);
|
2017-10-16 11:55:29 +02:00
|
|
|
|
|
|
|
#endif
|