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

fix(linking): link gflib/malloc.c at top of EWRAM in ld_script_modern.ld #1976

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

SBird1337
Copy link
Collaborator

Description

Linking malloc.c in the middle of EWRAM breaks on some specific linker versions manifesting in a corrupted scene when transitioning from littleroot town to the first route.

NOTE: This mitigates the bug, but probably does not fix the underlying issue. However I would suggest merging this in order to prevent errors like that on downstream projects like mods or the hideout/expansion project. It is probably fair game to revert this change if we can fix the underlying issue.

Discord contact info

karathan

@GriffinRichards GriffinRichards merged commit f2276e1 into pret:master Jan 28, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants