Merge pull request #307 from wheremyfoodat/rhappy

Stuff
This commit is contained in:
wheremyfoodat
2023-10-15 17:44:24 +03:00
committed by GitHub
13 changed files with 236 additions and 19 deletions

View File

@@ -26,6 +26,7 @@ bool NCCH::loadFromHeader(Crypto::AESEngine &aesEngine, IOFile& file, const FSIn
codeFile.clear();
saveData.clear();
partitionInfo = info;
size = u64(*(u32*)&header[0x104]) * mediaUnit; // TODO: Maybe don't type pun because big endian will break
exheaderSize = *(u32*)&header[0x180];