sceNpDrmIsAvailable: fix error check
No idea where I saw this check. Probably looked at the wrong function
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user