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

Split some data from src/audio/session_config.c into src/audio/session_init.c #2381

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

Thar0
Copy link
Contributor

@Thar0 Thar0 commented Dec 19, 2024

Some of the data in session_config.c had to be const-qualified in order to end up rodata, however some of this data is written to. This PR splits that data into a new file, session_init.c, and removes the const qualifiers, instead incrementally linking data -> rodata. This avoids having to cast away const.

… longer qualify them as const and incrementally link instead
@fig02 fig02 merged commit 81df2d4 into zeldaret:main Dec 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants