Co-Authored-By: liuk707 <62625900+liuk7071@users.noreply.github.com>
This commit is contained in:
wheremyfoodat 2023-06-10 23:37:26 +03:00
parent 402991a7ce
commit 239cc3e495

View file

@ -44,7 +44,7 @@ bool NCCH::loadFromHeader(u8* header, IOFile& file) {
// 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;
} else if (encrypted) {
Helpers::panic("Encrypted NCSD file");