Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion soh/soh/Enhancements/audio/AudioEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ extern std::shared_ptr<SohMenu> mSohMenu;
#define SEQ_COUNT_INSTRUMENT 6
#define SEQ_COUNT_SFX 57
#define SEQ_COUNT_VOICE 108
#define SEQ_COUNT_ENDING 5

size_t AuthenticCountBySequenceType(SeqType type) {
switch (type) {
Expand All @@ -74,6 +75,8 @@ size_t AuthenticCountBySequenceType(SeqType type) {
return SEQ_COUNT_INSTRUMENT;
case SEQ_VOICE:
return SEQ_COUNT_VOICE;
case SEQ_ENDING:
return SEQ_COUNT_ENDING;
default:
return 0;
}
Expand Down Expand Up @@ -806,7 +809,8 @@ void AudioEditor::DrawElement() {
}

std::vector<SeqType> allTypes = {
SEQ_BGM_WORLD, SEQ_BGM_EVENT, SEQ_BGM_BATTLE, SEQ_OCARINA, SEQ_FANFARE, SEQ_INSTRUMENT, SEQ_SFX, SEQ_VOICE,
SEQ_BGM_WORLD, SEQ_BGM_EVENT, SEQ_BGM_BATTLE, SEQ_OCARINA, SEQ_FANFARE,
SEQ_INSTRUMENT, SEQ_SFX, SEQ_VOICE, SEQ_ENDING,
};

void AudioEditor_RandomizeAll() {
Expand Down
Loading