devkitPro / wut

Let's try to make a Wii U Toolchain / SDK for creating rpx/rpl.
zlib License
236 stars 52 forks source link

Fixes for improved RPL support #388

Open Crementif opened 2 months ago

Crementif commented 2 months ago

@Exzap agreed upon me reviving his #325 PR with the suggested changes.

To rephrase his PR a bit, this is meant to address two problems that prevents RPLs from being usable:

I've tested the changes with RPX files that both use the custom heap and override preinit_user to use the wutmalloc implementation. This PR allows Aroma plugins/modules to continue to have access to the regular malloc implementation, while RPLs are now fully functional. After that, follow up PRs can be made to address some of the minor issues that are left to complete the RPL support in wut.