SDK patch w/ new sceUtility stubs and prototypes

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

Moderators: cheriff, TyRaNiD

Post Reply
mbf
Posts: 55
Joined: Fri Aug 18, 2006 7:43 pm

SDK patch w/ new sceUtility stubs and prototypes

Post by mbf »

PSPSDK patch for new NIDS:

Code: Select all

/**
 * Load a network module (PRX) from user mode
 * Load PSP_NET_MODULE_COMMON and PSP_NET_MODULE_INET
 * to use infrastructure WifI (via an access point)
 *
 * @param module - module number to load (PSP_NET_MODULE_xxx)
 * @return 0 on success, < 0 on error
 */
int sceUtilityLoadNetModule&#40;int module&#41;;

/**
 * Unload a network module &#40;PRX&#41; from user mode
 *
 * @param module - module number be unloaded
 * @return 0 on success, < 0 on error
 */
int sceUtilityUnloadNetModule&#40;int module&#41;;
This one may need review regarding the naming convention for the added header file psputility_netmodules.h

Diff here: http://www.megaupload.com/?d=P6HUYRWJ

More details regarding those functions here and here. Credit and thanks to Chris Swindle and Fanjita.

- mbf
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Added in rev 2001 with minor changes, thanks.
Post Reply