Oobles Site Admin
Joined: 17 Jan 2004 Posts: 362 Location: Melbourne, Australia
|
Posted: Wed Mar 22, 2006 12:01 pm Post subject: Finding and calling a specific PRX export. |
|
|
Is it possible to find and call a specific PRX export from user mode?
I have added module loading to LuaPlayer. At this point it relies on the module registering itself with LuaPlayer during startup. One problem with this is that it does not allow the app to be restarted as the module startup will not be called again.
The official Lua loadlib function relies on passing a function name which is called. This is instead of relying on the modules startup function.
I have been looking for a way to find and call a specifc PRX export, however, so far I've only found the various methods used in pspsdk and psplink which rely on the kernel mode only sceKernelFindModuleByUID. Is there an easier way of doing this, or do I need to add an export to my kernel mode bootstrap which will do this? This would seem odd, as I can already load and start a module from user mode.
Any ideas?
Thanks,
David. aka Oobles. |
|