AES: Properly handle missing seeds
This commit is contained in:
@@ -91,6 +91,7 @@ bool NCCH::loadFromHeader(Crypto::AESEngine &aesEngine, IOFile& file, const FSIn
|
|||||||
std::memcpy(secondaryKeyY.data(), hash.data(), secondaryKeyY.size());
|
std::memcpy(secondaryKeyY.data(), hash.data(), secondaryKeyY.size());
|
||||||
} else {
|
} else {
|
||||||
Helpers::warn("Couldn't find a seed value for this title. Make sure you have a seeddb.bin file alongside your aes_keys.txt");
|
Helpers::warn("Couldn't find a seed value for this title. Make sure you have a seeddb.bin file alongside your aes_keys.txt");
|
||||||
|
gotCryptoKeys = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user