1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 04:24:43 +00:00

Fix clang compilation error due to a fallthrough (#1271)

This commit is contained in:
Roman971 2022-06-11 16:19:34 +02:00 committed by GitHub
parent a33965c1d0
commit 826924afea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,7 +243,7 @@ f32 Audio_AdsrUpdate(AdsrState* adsr) {
adsr->envIndex = 0;
adsr->action.s.state = ADSR_STATE_LOOP;
FALLTHROUGH;
retry:
retry:;
case ADSR_STATE_LOOP:
adsr->delay = adsr->envelope[adsr->envIndex].delay;
switch (adsr->delay) {