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

Move MAX_SND_VOICES to header file #158

Merged
merged 2 commits into from
Oct 16, 2023
Merged

Conversation

1011X
Copy link
Contributor

@1011X 1011X commented Oct 16, 2023

Documentation for various ASND functions which take a voice slot parameter state that

valid values are 0 to (MAX_SND_VOICES-1)

However, MAX_SND_VOICES isn't exposed, so there's no way to check if one is within bounds before calling a function.

This change exposes MAX_SND_VOICES for use.

@WinterMute WinterMute merged commit 25d8b3d into devkitPro:master Oct 16, 2023
1 check passed
Extrems added a commit to emukidid/libogc that referenced this pull request Oct 16, 2023
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