1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-28 15:56:51 +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) {