2020-08-04 08:49:11 +02:00
|
|
|
#include "common.h"
|
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_25f00_len_940", func_8004AB00);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_25f00_len_940", func_8004ADD0);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_25f00_len_940", func_8004AE08);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-10-15 06:43:07 +02:00
|
|
|
INCLUDE_ASM(s32, "code_25f00_len_940", nuAuDmaCallBack);
|
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_25f00_len_940", nuAuDmaNew);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_25f00_len_940", nuAuCleanDMABuffers);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_25f00_len_940", func_8004B328);
|
2020-09-24 05:16:13 +02:00
|
|
|
|
2020-11-06 01:30:17 +01:00
|
|
|
void alLink(ALLink *element, ALLink *after) {
|
|
|
|
element->next = after->next;
|
|
|
|
element->prev = after;
|
|
|
|
|
|
|
|
if (after->next != NULL) {
|
|
|
|
after->next->prev = element;
|
|
|
|
}
|
|
|
|
after->next = element;
|
|
|
|
}
|
|
|
|
|
|
|
|
void alUnlink(ALLink *element) {
|
|
|
|
if (element->next != NULL) {
|
|
|
|
element->next->prev = element->prev;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (element->prev != NULL) {
|
|
|
|
element->prev->next = element->next;
|
|
|
|
}
|
|
|
|
}
|