But when i initialize the psp, it crashes.
Here is the source code: http://codepad.org/PHcBqWKz
Edit: I guess the problem is in allocating list in user memory.
I did this, but really dont know how much i have to allocate:
Code: Select all
mem = sceKernelAllocPartitionMemory(2, "dlist", 0, 262144, NULL);
list = 262144;
Code: Select all
mem = sceKernelAllocPartitionMemory(2, "dlist", 0, 262144, NULL);
font = (void *)(((u32)sceKernelGetBlockHeadAddr(mem) + 15) & ~15);
list = (void *)((u32)font + 0x20000);
Please help