summaryrefslogtreecommitdiff
path: root/soh/src/code/z_parameter.c
diff options
context:
space:
mode:
authorMalkierian <malkierian@gmail.com>2023-03-31 20:35:29 -0700
committerGitHub <noreply@github.com>2023-03-31 23:35:29 -0400
commitf7703e14e85d7646248320168dc0f4aa3c6c43de (patch)
tree200fce0b7ea82a0d33456a130c59bf8ce3d36e4f /soh/src/code/z_parameter.c
parent0c43fe7e48a972b4762b92ef0c55cf5cfc9c73b2 (diff)
Fix Missing Custom Sequences (#2649)
* Modifies custom sequence loading to bypass other sounds being loaded in AudioCollection to fix missing custom sequences on load. * Modified `audio_load`'s sequenceMap allocation to utilize `AudioCollection`'s sequenceMap size to account for all audio assets already loaded into that sequenceMap. This gives a non-arbitrary number in addition to the vanilla sequence count to allocate with for `audio_load`'s sequenceMap. Added `HasSequenceNum` to `AudioCollection` as well to streamline the check against `AudioCollection`'s sequenceMap to skip the non-sequence assets in there. Added clarification comment for seqNum and MAX_AUTHENTIC_SEQID section. * Clarified comment about AudioCollection seqNum and MAX_AUTHENTIC_SEQID. * A bit more on comment from the last commit.
Diffstat (limited to 'soh/src/code/z_parameter.c')
0 files changed, 0 insertions, 0 deletions