| View previous topic :: View next topic |
| Author |
Message |
TheBuzzer
Joined: 06 Feb 2006 Posts: 49
|
Posted: Mon Aug 28, 2006 5:07 am Post subject: Crashing On Exit? |
|
|
What cause the psp to crash on exit?
I am not sure what causes it but the psp crash on exit sometimes.
Like it is tying to quit but quits too slow or something and just crashes. |
|
| Back to top |
|
 |
TheBuzzer
Joined: 06 Feb 2006 Posts: 49
|
Posted: Mon Aug 28, 2006 6:40 am Post subject: |
|
|
| weird. i remove a variable i dont need anymore and it crashes but if i add it back in it does not crash on exit. |
|
| Back to top |
|
 |
mbf
Joined: 18 Aug 2006 Posts: 55
|
Posted: Mon Aug 28, 2006 7:03 pm Post subject: |
|
|
check out the last Q/A in the FAQ: http://wiki.pspdev.org/psp:programming_faq.
It's not really clear though. Instead of calling sceKernelExitGame from your exit callback, try sending a signal to your main thread and perform the cleanup/exit from there (shutdown other threads, etc.)
btw, does anyone know in which context is called the exit callback? Is it in the kernel thread handling the home button, or in the callback thread? In the latter case, does it have to be put back to sleep or something like that? |
|
| Back to top |
|
 |
TheBuzzer
Joined: 06 Feb 2006 Posts: 49
|
Posted: Tue Aug 29, 2006 10:22 am Post subject: |
|
|
i do just call sceKernelExitGame but it freezes.
no clue why. |
|
| Back to top |
|
 |
|