summaryrefslogtreecommitdiff
path: root/src/audio/data.c
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2026-09-16 09:01:55 -0600
committerGitHub <noreply@github.com>2026-09-16 09:01:55 -0600
commit60ac50c9628d25968bfe367e1b4b6f030078be64 (patch)
treee03a0d825cfe443adcf076cb643c20692151f431 /src/audio/data.c
parent7adfdaa9abb18d76ae80f26bff58c2c4dc4f3f29 (diff)
parent8fb42e50d70356300050048b57def3123e6d4552 (diff)
Merge branch 'main' into Caladius-patch-1Caladius-patch-1
Diffstat (limited to 'src/audio/data.c')
-rw-r--r--src/audio/data.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio/data.c b/src/audio/data.c
index 03e470fcf..e9c87e413 100644
--- a/src/audio/data.c
+++ b/src/audio/data.c
@@ -224,9 +224,9 @@ u8 gDefaultShortNoteDurationTable[16] = {
};
struct AdsrEnvelope gDefaultEnvelope[] = {
- { BSWAP16(4), BSWAP16(32000) }, // go from 0 to 32000 over the course of 16ms
- { BSWAP16(1000), BSWAP16(32000) }, // stay there for 4.16 seconds
- { BSWAP16(ADSR_HANG), 0 } // then continue staying there
+ { BOMSWAP16_CONST(4), BOMSWAP16_CONST(32000) }, // go from 0 to 32000 over the course of 16ms
+ { BOMSWAP16_CONST(1000), BOMSWAP16_CONST(32000) }, // stay there for 4.16 seconds
+ { BOMSWAP16_CONST(ADSR_HANG), 0 } // then continue staying there
};
//! @todo 0x00000000800f624c fill2