| View previous topic :: View next topic |
| Author |
Message |
dsanchem
Joined: 16 Apr 2006 Posts: 5 Location: Espaņa (Spain)
|
Posted: Sun May 11, 2008 3:09 am Post subject: How to get in Sleep mode and return to program |
|
|
Hi,
How can I force psp to return to my program when the psp returns from sleep mode? Actually when I enter on sleep mode and return the sony logo and xmb menu as showed.
Thanks |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Sun May 11, 2008 3:55 am Post subject: |
|
|
that's not sleep mode, that's turned off xD _________________
Upgrade your PSP |
|
| Back to top |
|
 |
dsanchem
Joined: 16 Apr 2006 Posts: 5 Location: Espaņa (Spain)
|
Posted: Sun May 11, 2008 4:36 am Post subject: |
|
|
No, I push power button less 2 seconds and it enter on sleep mode but when I push power button again the screen remain black. I push power button again and the systems boot as it was a restart.
This from my program, from a comercial game it works fine. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sun May 11, 2008 7:09 am Post subject: |
|
|
| Sounds like whatever it was crashed coming out of sleep mode. Many programs don't sleep properly (or wake properly). Nothing you can do but hope the author figures out the problem. |
|
| Back to top |
|
 |
dsanchem
Joined: 16 Apr 2006 Posts: 5 Location: Espaņa (Spain)
|
Posted: Sun May 11, 2008 8:56 pm Post subject: |
|
|
Yes, this is the problem. My little program crash coming out of sleep mode.
Anybody has a demo code when a program Enter on Sleep mode and come out good of sleep mode?
Thanks |
|
| Back to top |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Sun May 11, 2008 9:20 pm Post subject: |
|
|
Most of the SDK samples would suspend and resume ok.
There's no specific code to show you that will fix your program.
If it's important to you, it's one of those things you have to keep an eye on as you're going. _________________ If not actually, then potentially. |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Tue May 13, 2008 6:25 am Post subject: |
|
|
| dsanchem wrote: | No, I push power button less 2 seconds and it enter on sleep mode but when I push power button again the screen remain black. I push power button again and the systems boot as it was a restart.
This from my program, from a comercial game it works fine. |
I have that problem some times with my program too(but using a function to enter sleep mode), I believe it is caused by a loop
Edit:
no the problem is not a loop :/
I can't find the problem too lol _________________
Upgrade your PSP |
|
| Back to top |
|
 |
|