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

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

Moderators: cheriff, TyRaNiD

Post Reply
JesusXP
Posts: 79
Joined: Tue Jan 17, 2006 11:16 am
Location: Ontario, Canada

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

Post by JesusXP »

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?
TheMan
Posts: 10
Joined: Tue Jan 03, 2006 9:29 am

Post by TheMan »

Most likely its freeing the image more than once. Thats whats causing it to crash.
Post Reply