This commit is contained in:
GPUCode 2023-07-11 01:18:55 +03:00
parent c8f4d41b47
commit 57423e206f

View file

@ -112,7 +112,7 @@ bool NCCH::loadFromHeader(Crypto::AESEngine &aesEngine, IOFile& file, const FSIn
// It seems like some decryption tools will decrypt the file, without actually setting the NoCrypto flag in the NCCH header
// This is a nice and easy hack to see if a file is pretending to be encrypted, taken from 3DMoo and Citra
if (u32(programID) == u32(jumpID) && encrypted) {
printf("NCSD is supposedly ecrypted but not actually encrypted\n");
printf("NCSD is supposedly encrypted but not actually encrypted\n");
encrypted = false;
// Cartridge is not actually encrypted, set all of our encryption info structures to nullopt
@ -312,4 +312,4 @@ std::pair<bool, std::size_t> NCCH::readFromFile(IOFile& file, const FSInfo &info
}
return { success, bytes};
}
}