big update

lots cleaned, added cia to cci conv, it
's called a block, separated reading from building, improved ncch keyx
stuff, and basic verbose for keys, elf checking and romfs
This commit is contained in:
applestash
2014-08-26 00:34:28 +10:00
parent c6e98ca578
commit 9c548197c1
66 changed files with 2970 additions and 2551 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include "tmd.h"
// Read TMD
tmd_hdr *GetTmdHdr(u8 *tmd);
tmd_content_chunk* GetTmdContentInfo(u8 *tmd);
u64 GetTmdTitleId(tmd_hdr *hdr);
u32 GetTmdSaveSize(tmd_hdr *hdr);
u16 GetTmdContentCount(tmd_hdr *hdr);
u16 GetTmdVersion(tmd_hdr *hdr);
u32 GetTmdContentId(tmd_content_chunk info);
u16 GetTmdContentIndex(tmd_content_chunk info);
u16 GetTmdContentFlags(tmd_content_chunk info);
u64 GetTmdContentSize(tmd_content_chunk info);
u8* GetTmdContentHash(tmd_content_chunk info);
bool IsTmdContentEncrypted(tmd_content_chunk info);
bool ValidateTmdContent(u8 *data, tmd_content_chunk info);