Search found 3 matches

by FragassRock
Fri Oct 19, 2007 9:50 pm
Forum: PSP Development
Topic: SDL_Init - Out of memory
Replies: 4
Views: 1801

aeolusc wrote:update to the latest pspsdk and try:

Code: Select all

PSP_HEAP_SIZE_MAX();
or

Code: Select all

PSP_HEAP_SIZE_KB(-1);
Thanks it work!
by FragassRock
Fri Oct 19, 2007 8:52 pm
Forum: PSP Development
Topic: SDL_Init - Out of memory
Replies: 4
Views: 1801

I agree for the SDL_SetVideoMode but the error appears before on the SDL_Init(SDL_INIT_VIDEO)...
by FragassRock
Fri Oct 19, 2007 8:14 pm
Forum: PSP Development
Topic: SDL_Init - Out of memory
Replies: 4
Views: 1801

SDL_Init - Out of memory

Hello everyone, I try to convert the AtariST emulator 'Hatari' written with SDL on PSP (I have a PSP S&L). Now the program build and run but hang on SDL_Init with an 'out of memory' error... Here is a small piece of code wich work when builded alone : #include <pspkernel.h> #include <pspdebug.h>...