diff options
-rw-r--r-- | arm7/lib/include/SND_util.h | 8 | ||||
-rw-r--r-- | arm7/lib/include/syscall.h | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/arm7/lib/include/SND_util.h b/arm7/lib/include/SND_util.h index d9bc56c0..80534b94 100644 --- a/arm7/lib/include/SND_util.h +++ b/arm7/lib/include/SND_util.h @@ -3,13 +3,13 @@ #include "nitro/types.h" -#define SND_DECIBEL_SQUARE_TABLE_COUNT +#define SND_VOL_DB_MIN (-723) u16 SND_CalcRandom(void); -s8 SND_SinIdx(s32 index); +s8 SND_SinIdx(int index); -u16 SND_CalcChannelVolume(s32 value); -u16 SND_CalcTimer(s32 timer, s32 pitch); +u16 SND_CalcChannelVolume(int value); +u16 SND_CalcTimer(int timer, int pitch); extern const s16 SNDi_DecibelSquareTable[128]; diff --git a/arm7/lib/include/syscall.h b/arm7/lib/include/syscall.h index 55462cc7..1ac6fe49 100644 --- a/arm7/lib/include/syscall.h +++ b/arm7/lib/include/syscall.h @@ -2,5 +2,7 @@ #define POKEDIAMOND_ARM7_SYSCALL_H void SVC_WaitByLoop(u32 ct); +u8 SVC_GetVolumeTable(int idx); +u16 SVC_GetPitchTable(int idx); #endif //POKEDIAMOND_ARM7_SYSCALL_H |