makerom: misc and small changes

Altered behaviour to make CIA file generated to more closely match CIAs
made by Nintendo's private CIA generator. As seen in gamecard updates.
This commit is contained in:
applestash
2014-09-18 11:03:57 +10:00
parent 744abbe852
commit 274b523e9c
3 changed files with 71 additions and 43 deletions
+2
View File
@@ -1011,6 +1011,8 @@ bool SetNcchKeys(keys_struct *keys, ncch_hdr *hdr)
int GetNcchInfo(ncch_info *info, ncch_hdr *hdr)
{
clrmem(info, sizeof(ncch_info));
info->titleId = u8_to_u64(hdr->titleId,LE);
info->programId = u8_to_u64(hdr->programId,LE);