Fixed user DMAC prototypes
@@ -20,20 +20,20 @@ extern "C" {
* @param[in] src - Source
* @param[in] size - Size
*
- * @return dst.
+ * @return < 0 on error.
*/
-void *sceDmacMemcpy(void *dst, const void *src, SceSize size);
+int sceDmacMemcpy(void *dst, const void *src, SceSize size);
/**
* DMA memset
*
* @param[in] dst - Destination
- * @param[in] c - Constant
+ * @param[in] ch - The character
* @param[in] size - Size
*
- * @return dst.
+ * @return < 0 on error.
*/
-void *sceDmacMemset(void *dst, int c, SceSize size);
+int sceDmacMemset(void *dst, int ch, SceSize size);
#ifdef __cplusplus
}
