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 

how do you free up the memory for an image, after blitted?

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



Joined: 17 Jan 2006
Posts: 80
Location: Ontario, Canada

PostPosted: Wed Mar 15, 2006 7:21 am    Post subject: how do you free up the memory for an image, after blitted? Reply with quote

Say I had a character im using blitAlphaImageToScree(0,0,abe.image,abe.x,abe.y); to display it, after I call freeImage(abe.image); when PSP_CTRL_CROSS is pressed, the PSP hangs, and than shuts itself down lol

What could I be doing wrong?
Back to top
View user's profile Send private message MSN Messenger
TheMan



Joined: 03 Jan 2006
Posts: 10

PostPosted: Sun Mar 19, 2006 12:52 pm    Post subject: Reply with quote

Most likely its freeing the image more than once. Thats whats causing it to crash.
Back to top
View user's profile Send private message
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