mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-28 04:51:40 +00:00
Update smlua_audio_utils.c
This commit is contained in:
parent
88e084d5ef
commit
707dc7ca80
1 changed files with 2 additions and 2 deletions
|
|
@ -158,7 +158,7 @@ void smlua_audio_utils_replace_sequence(u8 sequenceId, u8 bankId, u8 defaultVolu
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 smlua_audio_utils_allocate_sequence(void) {
|
u8 smlua_audio_utils_allocate_sequence(void) {
|
||||||
if (sCustomSeqIndex< MAX_AUDIO_OVERRIDE) {
|
if (sCustomSeqIndex < MAX_AUDIO_OVERRIDE) {
|
||||||
return sCustomSeqIndex++;
|
return sCustomSeqIndex++;
|
||||||
}
|
}
|
||||||
LOG_ERROR("Cannot allocate more custom sequences.");
|
LOG_ERROR("Cannot allocate more custom sequences.");
|
||||||
|
|
@ -629,4 +629,4 @@ void smlua_audio_custom_deinit(void) {
|
||||||
ma_engine_uninit(&sModAudioEngine);
|
ma_engine_uninit(&sModAudioEngine);
|
||||||
sModAudioPool = NULL;
|
sModAudioPool = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue