summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordevnoname1202016-11-12 02:51:06 +0100
committerdevnoname1202016-11-12 02:51:06 +0100
commit7eb82cf2a408e23cebf38178da9735716adc7d09 (patch)
treed4771f8b538410e8aa248b507ab143b4b32adf2a
parentAdd NpDrmPackage (diff)
downloadvds-libraries-7eb82cf2a408e23cebf38178da9735716adc7d09.tar.gz
Add return value of sceNpDrmPackage functions
-rw-r--r--include/user/npdrmpackage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/user/npdrmpackage.h b/include/user/npdrmpackage.h
index dc01421..5a41475 100644
--- a/include/user/npdrmpackage.h
+++ b/include/user/npdrmpackage.h
@@ -28,6 +28,8 @@ typedef struct {
* @param identifier - arbitrary value [0, 6) ORed with (1 << 8) or 0.
* If it is set to 0, the function just checks the header
* and doesn't create the context.
+ *
+ * @return 0 on success, != 0 on error
*/
int _sceNpDrmPackageCheck(const void *buffer, SceSize size, int zero, unsigned int identifier);
@@ -37,6 +39,8 @@ int _sceNpDrmPackageCheck(const void *buffer, SceSize size, int zero, unsigned i
* @param buffer - The buffer containing the content of the PKG.
* @param size - The size of the buffer. The minimum confirmed value is 0x20.
* @param opt - The options.
+ *
+ * @return 0 on success, != 0 on error
*/
int _sceNpDrmPackageDecrypt(void * restrict buffer, SceSize size, _sceNpDrmPackageDecrypt_opt * restrict opt);