mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
sceNpDrmIsAvailable: fix error check
No idea where I saw this check. Probably looked at the wrong function
This commit is contained in:
parent
caea340985
commit
1584aba387
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ error_code sceNpTerm()
|
||||||
|
|
||||||
error_code npDrmIsAvailable(vm::cptr<u8> k_licensee_addr, vm::cptr<char> drm_path)
|
error_code npDrmIsAvailable(vm::cptr<u8> k_licensee_addr, vm::cptr<char> drm_path)
|
||||||
{
|
{
|
||||||
if (!k_licensee_addr || !drm_path)
|
if (!drm_path)
|
||||||
{
|
{
|
||||||
return SCE_NP_DRM_ERROR_INVALID_PARAM;
|
return SCE_NP_DRM_ERROR_INVALID_PARAM;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue