[SOLVED] Problem allocating ram with malloc
Posted: Tue Oct 15, 2019 7:26 am
Hi!
Sorry to write to you like that, and for my English, I write to you because I have been with a problem for several days that I cannot solve with an a port of DevilutionX that I am doing for PSVita.
The problem is when try to allocate 24MB with malloc, And I don't know why vita can not allocate it. I have calculated how much memory you have reserved before, but it does not reserved more than 20MB.
Do you know how much RAM is available for the user application?
This is my repo: https://github.com/gokuhs/devilutionX
Thanks for the help
Sorry to write to you like that, and for my English, I write to you because I have been with a problem for several days that I cannot solve with an a port of DevilutionX that I am doing for PSVita.
The problem is when try to allocate 24MB with malloc, And I don't know why vita can not allocate it. I have calculated how much memory you have reserved before, but it does not reserved more than 20MB.
Do you know how much RAM is available for the user application?
This is my repo: https://github.com/gokuhs/devilutionX
Thanks for the help