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

Makes sequenceMap and seqLoadStatus a dynamic size - Khan Version #2610

Merged
merged 1 commit into from
Mar 12, 2023

Conversation

leggettc18
Copy link
Contributor

@leggettc18 leggettc18 commented Mar 10, 2023

Refactors to allow the above two arrays to be a dynamic size when the game launches, size is set during the AudioLoad_Init function. I have already confirmed that AudioLoad_Init only gets called once per launch, and on soft-reset, AudioLoad_Init does not get called again, so these memory allocations do not cause any memory leaks.

Build Artifacts

Refactors to allow the above two arrays to be a dynamic size when the game launches, size is set during the AudioLoad_Init function.
@leggettc18
Copy link
Contributor Author

This is the same as #2608 but based on develop-khan instead of develop. Whichever one gets merged, close the other one.

@leggettc18 leggettc18 merged commit d900893 into HarbourMasters:develop-khan Mar 12, 2023
@leggettc18 leggettc18 deleted the seqmap-size-khan branch March 12, 2023 19:55
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.

None yet

2 participants