I'm working on an app that uses the UMD.
i discovered an error in the pspumd.h.
patch:
Index: pspumd.h
===================================================================
--- pspumd.h (revision 2447)
+++ pspumd.h (working copy)
@@ -174,8 +174,12 @@
* @return < 0 on error
* @par Example:
* @code
- * cbid = sceKernelCreateCallback("UMD Callback", umd_callback);
- * sceUmdRegisterUMDCallback(cbid);
+ * int umd_callback(int unknown, int event)
+ * {
+ * //do something
+ * }
+ * int cbid = sceKernelCreateCallback("UMD Callback", umd_callback, NULL);
+ * sceUmdRegisterUMDCallBack(cbid);
* @endcode
*/
int sceUmdRegisterUMDCallBack(int cbid);
here the patch:(made with tortoise, not sure if it is ok)
http://www.sendspace.com/file/bwei8h
pspsdk little correction
Code: Select all
Sending umd/pspumd.h
Transmitting file data .
Committed revision 2448.