Search found 4 matches

by danny_dot_net
Fri Jul 18, 2008 1:56 pm
Forum: PSP Development
Topic: psp crash when I try to resize image with SDL
Replies: 7
Views: 8985

What if you just take out the freemem() call from the sprintf? Does it still work then? If so, the heap has got corrupted. But from the size of your images you're going to run out of memory too, hence my first suggestion. Jim as you can see freemem() just checks the residual memory size but does no...
by danny_dot_net
Wed Jul 16, 2008 5:20 pm
Forum: PSP Development
Topic: psp crash when I try to resize image with SDL
Replies: 7
Views: 8985

Now I find what makes the program get crashed in PSP, the bug is that resizedImage=zoomSurface(Image,ratio,ratio,0); can not exist at the same time with the following code sprintf(string,"PicID: %d",id); Write(string,10,10); sprintf&a...
by danny_dot_net
Tue Jul 15, 2008 1:41 pm
Forum: PSP Development
Topic: psp crash when I try to resize image with SDL
Replies: 7
Views: 8985

psp crash when I try to resize image with SDL

the program is simply for loading a jpg file each time and displaying it. there are altogether 3 jpg files, the sizes of the first two are all 512*340. When I load, resize and display the first image, it goes fine . but when it comes to the second image, the psp get crashed , but it goes well on pc....
by danny_dot_net
Fri Jul 11, 2008 6:01 pm
Forum: PSP Development
Topic: how to load image file of big size into psp via SDL?
Replies: 0
Views: 1964

how to load image file of big size into psp via SDL?

First of all, I am new in psp coding. Second, what I am trying to do is to write a small program that can view jpg files stored in memory stick (my DC uses memory stick too). I want to view the photos i just take via the big big psp LCD screen instead of the small small one in my dc). The psp can on...