mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
Remove unneeded non-ASCII character (unedat.cpp)
This commit is contained in:
parent
3b8e3a9714
commit
e0635cf65c
1 changed files with 2 additions and 2 deletions
|
@ -598,7 +598,7 @@ int validate_npd_hashes(const char* file_name, const u8* klicensee, NPD_HEADER *
|
||||||
|
|
||||||
// Hash with NPDRM_OMAC_KEY_3 and compare with title_hash.
|
// Hash with NPDRM_OMAC_KEY_3 and compare with title_hash.
|
||||||
// Try to ignore case sensivity with file extension
|
// Try to ignore case sensivity with file extension
|
||||||
title_hash_result =
|
title_hash_result =
|
||||||
cmac_hash_compare(NP_OMAC_KEY_3, 0x10, buf.get(), buf_len, npd->title_hash, 0x10) ||
|
cmac_hash_compare(NP_OMAC_KEY_3, 0x10, buf.get(), buf_len, npd->title_hash, 0x10) ||
|
||||||
cmac_hash_compare(NP_OMAC_KEY_3, 0x10, buf_lower.get(), buf_len, npd->title_hash, 0x10) ||
|
cmac_hash_compare(NP_OMAC_KEY_3, 0x10, buf_lower.get(), buf_len, npd->title_hash, 0x10) ||
|
||||||
cmac_hash_compare(NP_OMAC_KEY_3, 0x10, buf_upper.get(), buf_len, npd->title_hash, 0x10);
|
cmac_hash_compare(NP_OMAC_KEY_3, 0x10, buf_upper.get(), buf_len, npd->title_hash, 0x10);
|
||||||
|
@ -922,7 +922,7 @@ bool EDATADecrypter::ReadHeader()
|
||||||
|
|
||||||
if (dec_key == v128{})
|
if (dec_key == v128{})
|
||||||
{
|
{
|
||||||
edat_log.warning("EDAT: Empty Dec key for local actívation!");
|
edat_log.warning("EDAT: Empty Dec key for local activation!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ((npdHeader.license & 0x1) == 0x1) // Type 1: Use network activation.
|
else if ((npdHeader.license & 0x1) == 0x1) // Type 1: Use network activation.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue