edat: Check for the correct directory

This commit is contained in:
AniLeo 2021-09-18 17:42:53 +01:00 committed by Ani
parent 1f8f428a59
commit c995505023
3 changed files with 7 additions and 7 deletions

View file

@ -553,7 +553,7 @@ error_code npDrmVerifyUpgradeLicense(vm::cptr<char> content_id)
const std::string content_str(content_id.get_ptr(), std::find(content_id.get_ptr(), content_id.get_ptr() + 0x2f, '\0'));
sceNp.warning("npDrmVerifyUpgradeLicense(): content_id='%s'", content_id);
if (!rpcs3::utils::verify_c00_unlock_edat(Emu.GetTitleID(), content_str))
if (!rpcs3::utils::verify_c00_unlock_edat(content_str))
return SCE_NP_DRM_ERROR_LICENSE_NOT_FOUND;
return CELL_OK;