diff options
author | Michael Panzlaff <michael.panzlaff@fau.de> | 2021-07-03 21:25:05 +0200 |
---|---|---|
committer | Michael Panzlaff <michael.panzlaff@fau.de> | 2021-08-25 18:03:45 +0200 |
commit | c0b5972e6e55ea33746ec45317410b17e35e4929 (patch) | |
tree | 180b0710a2dcf3c3eb4dac6e23e72ee7c68d45e5 | |
parent | 68dcc21efd11140a70419ada34ac5f2d9d526f69 (diff) |
more header refactoring
-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 |