pspsdk little correction

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
phobox
Posts: 127
Joined: Mon Mar 24, 2008 6:22 pm

pspsdk little correction

Post by phobox »

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
Ciao! from Italy
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Code: Select all

Sending        umd/pspumd.h
Transmitting file data .
Committed revision 2448.
Thanks.
Post Reply