Hey
I've coded a PRX module that is activated from the LCF-TV icon, and it does what it should do, but unfortunately, I can't work out how to offload the module afterwards.
I've tried sceKernelExitGame, sceKernelDeleteThread, and loads of other stuff but I can't find one that works....
Unload PRX?
Isn't it something like SelfStopUnloadModule() ?
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
The PSP Homebrew Database needs you!
That's what I'm asking you! :p
I'll try that, cheers Fanjita.
BTW, congrats on the BBC interview!
EDIT: I have two choices in pspmodulemgr.h:
or
I'm going to try and use sceKernelSelfStopUnloadModule, but I don't know what to enter as the last two args. Any idea?
I'll try that, cheers Fanjita.
BTW, congrats on the BBC interview!
EDIT: I have two choices in pspmodulemgr.h:
Code: Select all
/**
* Stop and unload the current module.
*
* @param unknown - Unknown (I've seen 1 passed).
* @param argsize - Size (in bytes) of the arguments that will be passed to module_stop().
* @param argp - Pointer to arguments that will be passed to module_stop().
*
* @return ??? on success, otherwise one of ::PspKernelErrorCodes.
*/
int sceKernelSelfStopUnloadModule(int unknown, SceSize argsize, void *argp);
Code: Select all
/**
* Stop and unload the current module.
*
* @param argsize - Size (in bytes) of the arguments that will be passed to module_stop().
* @param argp - Poitner to arguments that will be passed to module_stop().
* @param status - Return value from module_stop().
* @param option - Pointer to an optional ::SceKernelSMOption structure.
*
* @returns ??? on success, otherwise one of ::PspKernelErrorCodes.
*/
int sceKernelStopUnloadSelfModule(SceSize argsize, void *argp, int *status, SceKernelSMOption *option);
-
- Posts: 25
- Joined: Fri Jan 19, 2007 3:03 pm