mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
alEvtqNew
This commit is contained in:
@@ -3,11 +3,30 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "macros.h"
|
||||
#include "audio_internal.h"
|
||||
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0C9C90/alEvtqFlushType.s")
|
||||
|
||||
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0C9C90/alEvtqPostEvent.s")
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0C9C90/alEvtqNextEvent.s")
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0C9C90/alEvtqNew.s")
|
||||
|
||||
//GLOBAL_ASM("lib/asm/non_matchings/unknown_0C9C90/alEvtqNew.s")
|
||||
void alEvtqNew(ALEventQueue *evtq, ALEventListItem *items, s32 itemCount)
|
||||
{
|
||||
s32 i;
|
||||
|
||||
evtq->eventCount = 0;
|
||||
evtq->allocList.next = 0;
|
||||
evtq->allocList.prev = 0;
|
||||
evtq->freeList.next = 0;
|
||||
evtq->freeList.prev = 0;
|
||||
|
||||
for (i = 0; i < itemCount; i++) {
|
||||
alLink((ALLink *)&items[i], &evtq->freeList);
|
||||
}
|
||||
}
|
||||
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0C9C90/alSynAddPlayer.s")
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0C9C90/_allocatePVoice.s")
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0C9C90/alSynAllocVoice.s")
|
||||
|
||||
@@ -30,6 +30,8 @@ s32 alFxParam(void* filter, s32 paramID, void* param) {
|
||||
|
||||
GLOBAL_ASM("asm/non_matchings/unknown_064830/alFxParamHdl.s")
|
||||
GLOBAL_ASM("asm/non_matchings/unknown_064830/_loadOutputBuffer.s")
|
||||
|
||||
|
||||
/*
|
||||
* This routine is for loading data from the delay line buff. If the
|
||||
* address of curr_ptr < r->base, it will force it to be within r->base
|
||||
|
||||
Reference in New Issue
Block a user