Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly grab root heap #10

Closed
shadowninja108 opened this issue May 20, 2019 · 5 comments
Closed

Properly grab root heap #10

shadowninja108 opened this issue May 20, 2019 · 5 comments

Comments

@shadowninja108
Copy link
Owner

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.

@3096
Copy link
Collaborator

3096 commented May 28, 2019

What would you consider as a "proper heap"?

@OatmealDome
Copy link
Collaborator

I assume not using one of the game's heaps, but making a dedicated heap just for Starlight

@3096
Copy link
Collaborator

3096 commented Jun 13, 2019

Alternatively, we could override operator new to use malloc.

@khang06
Copy link
Collaborator

khang06 commented Jun 13, 2019

splatoon 2 malloc or glib malloc? glib malloc fucks things up on games

@3096
Copy link
Collaborator

3096 commented Jun 13, 2019

splatoon 2 malloc obv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants