diff options
author | Bad Diode <bd@badd10de.dev> | 2021-05-02 18:10:20 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-05-02 18:10:20 +0200 |
commit | fc16837ded8df8ffe7ba77dc0e2387d7af3ddde2 (patch) | |
tree | 3fb37845197987f21d68a425528b08a1d107e4a5 /src/common.h | |
parent | 53c1e688f2b2f559a2bde556c9762519efa66f03 (diff) | |
download | gba-experiments-fc16837ded8df8ffe7ba77dc0e2387d7af3ddde2.tar.gz gba-experiments-fc16837ded8df8ffe7ba77dc0e2387d7af3ddde2.zip |
Add UI elements for envelope filter per trig
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index ece94cd..b688711 100644 --- a/src/common.h +++ b/src/common.h | |||
@@ -594,7 +594,7 @@ sound_volume(SoundChannel channels, u8 volume) { | |||
594 | #define SOUND_SQUARE_LEN(N) (N) | 594 | #define SOUND_SQUARE_LEN(N) (N) |
595 | #define SOUND_SQUARE_DUTY(N) ((N) << 0x6) | 595 | #define SOUND_SQUARE_DUTY(N) ((N) << 0x6) |
596 | #define SOUND_SQUARE_ENV_TIME(N) ((N) << 0x8) | 596 | #define SOUND_SQUARE_ENV_TIME(N) ((N) << 0x8) |
597 | #define SOUND_SQUARE_ENV_INC (1 << 0xB) | 597 | #define SOUND_SQUARE_ENV_INC(N) ((N) << 0xB) |
598 | #define SOUND_SQUARE_ENV_VOL(N) ((N) << 0xC) | 598 | #define SOUND_SQUARE_ENV_VOL(N) ((N) << 0xC) |
599 | 599 | ||
600 | // DMG square frequency bits. | 600 | // DMG square frequency bits. |