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
commit 07afcfb24c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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];