Hi,
I've try to port my hb in kernel mode, and using PSP_MAIN_THREAD_ATTR(PSP_THREAD_ATTR_USER);
set the main thread to user mode...
But when I launch the hb I've error 800200D9!
(failed to allocate memory block)
Why?
I think makefile is useful:
Note that the negative heap size tells how much memory to leave to the PSP, not how much to allocate to the app, and requires a very new toolchain, so if you haven't updated in a while, do so.
The current code in newlib specifically sets PRXs to 64KB unless some value is set. I think that was for people doing plugins and libs, but now with 3.xx user-mode, apps are now PRXs too, so maybe the default needs to change.
TyRaNiD wrote:No it doesn't because something like that would be a serious breaking change.
True, plus since the author clearly has to make changes to make an app run as 3.xx user prx, it SHOULD be no trouble for them to add a heapsize to the app at the same time. So I guess leaving it as is would be the best thing.