1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-29 08:16:11 +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->envIndex = 0;
adsr->action.s.state = ADSR_STATE_LOOP; adsr->action.s.state = ADSR_STATE_LOOP;
FALLTHROUGH; FALLTHROUGH;
retry: retry:;
case ADSR_STATE_LOOP: case ADSR_STATE_LOOP:
adsr->delay = adsr->envelope[adsr->envIndex].delay; adsr->delay = adsr->envelope[adsr->envIndex].delay;
switch (adsr->delay) { switch (adsr->delay) {