MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / DSPAddTask

Function DSPAddTask

src/dolphin/src/dsp/dsp.c:87–101  ·  view source on GitHub ↗

it's possible to override this function but it wasn't done with DECL_WEAK(according to the symbol map)

Source from the content-addressed store, hash-verified

85
86// it's possible to override this function but it wasn't done with DECL_WEAK(according to the symbol map)
87DECL_WEAK DSPTaskInfo* DSPAddTask(DSPTaskInfo* task)
88{
89 u32 oldInt;
90 oldInt = OSDisableInterrupts();
91 __DSP_insert_task(task);
92 task->state = 0;
93 task->flags = 1;
94 OSRestoreInterrupts(oldInt);
95 if (task == __DSP_first_task)
96 {
97 __DSP_boot_task(task);
98 }
99
100 return task;
101}
102
103DSPTaskInfo* DSPCancelTask(DSPTaskInfo* task)
104{

Callers 2

__AXOutInitDSPFunction · 0.85
__CARDUnlockFunction · 0.85

Calls 3

OSDisableInterruptsFunction · 0.85
__DSP_insert_taskFunction · 0.85
__DSP_boot_taskFunction · 0.85

Tested by

no test coverage detected