Hi, i need your help again ^^''
I made a plugin for my PSP (CF 3.90M33-3) but now I would that plugin will be loaded only on console boot and not for example when I exit from a game/UMD/Pops...
Is it possible? What kind of function i have to use?
Please help me, thanks ^^
EDIT: no idea boys? :'(
Loading only on console BOOT... is it possible?
-
- Posts: 110
- Joined: Tue Feb 27, 2007 9:43 pm
- Contact:
I think you are talking about this thread: http://forums.ps2dev.org/viewtopic.php?t=9883Art wrote:There was an example posted to tell if the PSP was last coldbooted,
or woken from suspend, but I can't find it.
Not that I know if it would help, becasue after you exited from a game,
the flags would probably still be the same.
I dont think that will help the topic creator though.
So basically you want to be able to tell if the vsh was booted from IPL rather than from reboot.bin. Im pretty sure there is a flag that get's passed in the vshmain arg's that tells. I cannot recall at the moment though.
As for the vshmain_arg's when booted from IPL args=0 and argp = NULL.
Else they have some value such as error messages to be displayed when xmb launches. You can tell if vsh was launched from recovery because then args=256.
Exiting from a game/app will always have some arguements, i've only seen 1024 bytes long.
Else they have some value such as error messages to be displayed when xmb launches. You can tell if vsh was launched from recovery because then args=256.
Exiting from a game/app will always have some arguements, i've only seen 1024 bytes long.