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

mm_loader.c: fix callback loader #12

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

ds-sloth
Copy link
Contributor

@ds-sloth ds-sloth commented Nov 27, 2024

This PR fixes the last major issue I found when upgrading to Calico. (Corrupted samples when loading the soundbank from a compressed archive.)

This is one possible solution of the issue (replacing accesses of s_mmFile.hdr with s_mmState). If you'd prefer me to implement it by filling the fields in s_mmFile.hdr in mmSetCustomSoundBankHandler, I can change to that implementation.

[By the way, were my email and forum message received? I understand if you are all busy, but I never heard anything back. The major issues are all solved but there are still some minor things I'd like to discuss. Thanks!]

@WinterMute WinterMute merged commit f6d627d into devkitPro:master Dec 4, 2024
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