diff options
| author | engineer124 <engineer124engineer124@gmail.com> | 2021-11-11 13:54:59 +1100 |
|---|---|---|
| committer | engineer124 <engineer124engineer124@gmail.com> | 2021-11-11 13:54:59 +1100 |
| commit | 98ea63ce9fc3e15ae1376fb28df76360baee4267 (patch) | |
| tree | 01fe4836749487e60e4188824b791972898b6f75 /src/code/audio | |
| parent | 158dede3f68891fcf1643af65a9e77b242931432 (diff) | |
Use proper flags for voice files
Diffstat (limited to 'src/code/audio')
| -rw-r--r-- | src/code/audio/code_801A4EB0.c | 17 | ||||
| -rw-r--r-- | src/code/audio/code_801A51F0.c | 42 |
2 files changed, 59 insertions, 0 deletions
diff --git a/src/code/audio/code_801A4EB0.c b/src/code/audio/code_801A4EB0.c new file mode 100644 index 000000000..d3461c8f5 --- /dev/null +++ b/src/code/audio/code_801A4EB0.c @@ -0,0 +1,17 @@ +#include "global.h" + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A4EB0.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A4EB8.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A4FD8.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A5080.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A50C0.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A5100.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A510C.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A4EB0/func_801A5118.s") diff --git a/src/code/audio/code_801A51F0.c b/src/code/audio/code_801A51F0.c new file mode 100644 index 000000000..6a40bf23a --- /dev/null +++ b/src/code/audio/code_801A51F0.c @@ -0,0 +1,42 @@ +#include "global.h" + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/D_801E0EC0.s") + +UNK_TYPE func_801A51F0(UNK_TYPE arg0) { + switch (arg0) { + case 1: + case 4: + case 5: + case 11: + case 13: + case 14: + case 15: + return -1; + default: + return 0; + } +} + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5228.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5390.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A53DC.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A53E8.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A541C.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5488.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A54C4.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A54D0.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5680.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5808.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5A10.s") + +#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5A1C.s") |
