Address comments

This commit is contained in:
Mary 2023-06-20 08:31:31 +02:00
parent ef5329a0d4
commit 0494ca0064
2 changed files with 4 additions and 4 deletions

View file

@ -118,7 +118,7 @@ bool NCCH::loadFromHeader(Crypto::AESEngine &aesEngine, IOFile& file, const FSIn
printf("NCSD is supposedly ecrypted but not actually encrypted\n");
encrypted = false;
}
// If it's truely encrypted, we need to read section again.
// If it's truly encrypted, we need to read section again.
if (encrypted) {
auto [success, bytes] = readFromFile(file, exheaderInfo, &exheader[0], 0, exheaderSize);
if (!success || bytes != exheaderSize) {