Hi everyone,
I just want to know how I can know the kernel memory and the user memory of the psp (what's the function in the sdk to display them?)?
Thanks in advance;
pspflashsystem
Kernel memory and user memory
-
- Posts: 31
- Joined: Mon Mar 24, 2008 12:31 am
Kernel memory and user memory
I'm apologize for my bad English because I am French :)
.::pspflashsystem::.
.::pspflashsystem::.
-
- Posts: 31
- Joined: Mon Mar 24, 2008 12:31 am
Ok thanks Oldprisoner but I use this:
And the value of sceKernelQueryMemoryPartitionInfo(2, &info) is a negative number -2147352366 and sceKernelPartitionTotalFreeMemSize(2) works fine (24352512 bytes). So, why?
Thanks in advance for your help :)
Code: Select all
PspSysmemPartitionInfo *user;
sceKernelQueryMemoryPartitionInfo(2, &user);
sprintf(strconfig1, "%d/%d", sceKernelQueryMemoryPartitionInfo(2, &info), sceKernelPartitionTotalFreeMemSize(2));
Thanks in advance for your help :)
I'm apologize for my bad English because I am French :)
.::pspflashsystem::.
.::pspflashsystem::.
-2147352366 = 0x800200d2 = SCE_KERNEL_ERROR_ILLEGAL_ARGUMENT.pspflashsystem wrote:Ok thanks Oldprisoner but I use this:And the value of sceKernelQueryMemoryPartitionInfo(2, &info) is a negative number -2147352366Code: Select all
PspSysmemPartitionInfo *user; sceKernelQueryMemoryPartitionInfo(2, &user); sprintf(strconfig1, "%d/%d", sceKernelQueryMemoryPartitionInfo(2, &info), sceKernelPartitionTotalFreeMemSize(2));
sceKernelQueryMemoryPartitionInfo takes a pointer to the info structure, not a pointer to a pointer.