summaryrefslogtreecommitdiff
path: root/arm7/lib/src
diff options
context:
space:
mode:
authorMichael Panzlaff <michael.panzlaff@fau.de>2021-08-01 12:46:53 +0200
committerMichael Panzlaff <michael.panzlaff@fau.de>2021-08-25 18:03:51 +0200
commit6482eb6e2a1a99c4b65502b5bc1f97a98690519a (patch)
tree3208091a79aff89f94a1d2dab58e72eac411444f /arm7/lib/src
parent17bd4c9973fff575355a8c35532f37d7c05dbf60 (diff)
arm7: snd: remove some old TODOs
Diffstat (limited to 'arm7/lib/src')
-rw-r--r--arm7/lib/src/SND_exChannel.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/arm7/lib/src/SND_exChannel.c b/arm7/lib/src/SND_exChannel.c
index bf5012e2..c2231640 100644
--- a/arm7/lib/src/SND_exChannel.c
+++ b/arm7/lib/src/SND_exChannel.c
@@ -7,16 +7,14 @@
#include "registers.h"
-// TODO import these tables into here if they belong here
-extern u8 sChannelAllocationOrder[SND_CHANNEL_COUNT];
-extern u8 sAttackCoeffTable[19];
+// TODO import these tables into here if we have a working .rodata section
+extern const u8 sChannelAllocationOrder[SND_CHANNEL_COUNT];
+extern const u8 sAttackCoeffTable[19];
+extern const u8 sSampleDataShiftTable[4];
static u32 sLockedChannelMask;
static u32 sWeakLockedChannelMask;
-// TODO remove this extern once we actually know where this table is
-extern u8 sSampleDataShiftTable[4];
-
static u16 CalcDecayCoeff(int vol);
static int ExChannelSweepUpdate(struct SNDExChannel *chn, BOOL step);