summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
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.