mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
More defect fixes, added some error codes
This commit is contained in:
parent
fac9d74344
commit
9c2f48cd1d
9 changed files with 190 additions and 84 deletions
|
|
@ -890,8 +890,9 @@ bool SELFDecrypter::DecryptNPDRM(u8 *metadata, u32 metadata_size)
|
|||
memcpy(klicensee_key, key_v.GetKlicenseeKey(), 0x10);
|
||||
|
||||
// Use klicensee if available.
|
||||
if (memcmp(klicensee_key, key_v.GetKlicenseeKey(), 0x10) != 0)
|
||||
memcpy(npdrm_key, klicensee_key, 0x10);
|
||||
// FIXME: Check is always false.
|
||||
/*if (klicensee_key != NULL)
|
||||
memcpy(npdrm_key, klicensee_key, 0x10);*/
|
||||
|
||||
if (ctrl->npdrm.license == 1) // Network license.
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue