SysCheck-ModMii-Edition/include/title.h

22 lines
504 B
C
Raw Normal View History

2013-10-12 20:38:34 +02:00
#ifndef _TITLE_H_
#define _TITLE_H_
/* Constants */
#define BLOCK_SIZE 1024
/* Macros */
#define round_up(x,n) (-(-(x) & -(n)))
/* Prototypes */
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_GetVersionNObuf(u64 tid);
u32 Title_GetSize_FromTMD(tmd *tmd_data);
#endif