Add user message for uppercase RAP

This commit is contained in:
JohnHolmesII 2019-08-28 17:20:45 +00:00 committed by Megamouse
parent 8de1239132
commit 80d18190f9

View file

@ -1300,7 +1300,7 @@ bool SELFDecrypter::GetKeyFromRap(u8* content_id, u8* npdrm_key)
if (!rap_file) if (!rap_file)
{ {
LOG_FATAL(LOADER, "Failed to load RAP file: %s", rap_path); LOG_FATAL(LOADER, "Failed to load RAP file: %s. Make sure the file extension is lowercase.", rap_path);
return false; return false;
} }
@ -1457,4 +1457,4 @@ std::array<u8, 0x10> get_default_self_klic()
std::array<u8, 0x10> key; std::array<u8, 0x10> key;
std::copy(std::begin(NP_KLIC_FREE), std::end(NP_KLIC_FREE), std::begin(key)); std::copy(std::begin(NP_KLIC_FREE), std::end(NP_KLIC_FREE), std::begin(key));
return key; return key;
} }