Closed shadowninja108 closed 5 years ago
What would you consider as a "proper heap"?
I assume not using one of the game's heaps, but making a dedicated heap just for Starlight
Alternatively, we could override operator new to use malloc.
splatoon 2 malloc or glib malloc? glib malloc fucks things up on games
splatoon 2 malloc obv
Currently all data must be allocated in the .data/bss segments. @OatmealDome has a workaround by getting the ResMgr's heap, but it's not ideal. The game's own new operator should be operational once a proper heap can be grabbed.