forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

pspsdk little correction

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
phobox



Joined: 24 Mar 2008
Posts: 140

PostPosted: Fri Dec 12, 2008 5:14 am    Post subject: pspsdk little correction Reply with quote

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
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Dec 12, 2008 7:45 am    Post subject: Reply with quote

Code:
Sending        umd/pspumd.h
Transmitting file data .
Committed revision 2448.
Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group