diff options
Diffstat (limited to 'arm7/lib/src')
-rw-r--r-- | arm7/lib/src/SND_exChannel.c | 10 |
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); |