Link MSL_C/e_acos, rspsim fixes

This commit is contained in:
Cuyler36
2025-07-04 16:51:35 -04:00
parent 9951366567
commit 4a31545d4e
3 changed files with 53 additions and 23 deletions
+28
View File
@@ -37,6 +37,34 @@ extern "C" {
#define ADSR_RESTART -3
#define ADSR_SPECIAL4 -4 // TODO: figure this out
// Audio ABI commands
#define A_CMD_SPNOOP 0
#define A_CMD_ADPCM 1
#define A_CMD_CLEARBUFF 2
#define A_CMD_UNK3 3
#define A_CMD_ADDMIXER 4
#define A_CMD_RESAMPLE 5
#define A_CMD_RESAMPLE_ZOH 6
#define A_CMD_FILTER 7
#define A_CMD_SETBUFF 8
#define A_CMD_DUPLICATE 9
#define A_CMD_DMEMMOVE 10
#define A_CMD_LOADADPCM 11
#define A_CMD_MIXER 12
#define A_CMD_INTERLEAVE 13
#define A_CMD_HILOGAIN 14
#define A_CMD_SETLOOP 15
#define A_CMD_UNK16 16
#define A_CMD_INTERL 17
#define A_CMD_ENVSETUP1 18
#define A_CMD_ENVMIXER 19
#define A_CMD_LOADBUFF 20
#define A_CMD_SAVEBUFF 21
#define A_CMD_ENVSETUP2 22
#define A_CMD_S8DEC 23
#define A_CMD_LOADCACHE 24
#define A_CMD_EXIT 25
#define NA_MAKE_COMMAND(a0, a1, a2, a3) \
(u32)((((a0) & 0xFF) << 24) | (((a1) & 0xFF) << 16) | (((a2) & 0xFF) << 8) | (((a3) & 0xFF) << 0))