forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sceKernelExitGame() memory release?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
SamuraiX



Joined: 31 Jan 2006
Posts: 76
Location: USA

PostPosted: Fri Feb 24, 2006 3:00 am    Post subject: sceKernelExitGame() memory release? Reply with quote

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!
Back to top
View user's profile Send private message Visit poster's website
Fanjita



Joined: 28 Sep 2005
Posts: 217

PostPosted: Fri Feb 24, 2006 1:10 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
SamuraiX



Joined: 31 Jan 2006
Posts: 76
Location: USA

PostPosted: Sat Feb 25, 2006 6:47 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group