sceKernelExitGame() memory release?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
SamuraiX
Posts: 76
Joined: Tue Jan 31, 2006 6:28 am
Location: USA
Contact:

sceKernelExitGame() memory release?

Post by SamuraiX »

I have run into a stumbling block on my app when it comes to releasing memory. However, I was wondering when exiting the app using sceKernelExitGame() function, does the PSP automatically clean up memory? Or does the memory stay lying around even after the app has been exited and we're now in the sony menu?

Thanks!
Fanjita
Posts: 217
Joined: Wed Sep 28, 2005 9:31 am

Post by Fanjita »

ExitGame() appears to tidy up all resources used by your app.

Some early games did their own tidy-up, as I understand it, but certainly GTA (the only one I've looked at to any degree) does absolutely no tidy-up of its own during the exit handlers.
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
SamuraiX
Posts: 76
Joined: Tue Jan 31, 2006 6:28 am
Location: USA
Contact:

Post by SamuraiX »

Thank You, Last night I added get free memory function to my app (BOR). It would seem that after every exit and restart the memory was cleaned up by sony.
Post Reply