mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
31 lines
711 B
C
31 lines
711 B
C
#ifndef _JAUDIO_IPLDEC_H
|
|
#define _JAUDIO_IPLDEC_H
|
|
|
|
#include "types.h"
|
|
#include "dolphin/dsp.h"
|
|
|
|
/////////// JAUDIO IPL DEC DEFINITIONS ///////////
|
|
// Global functions (all C++, so no extern C wrap).
|
|
BOOL DspExtraTaskCheck();
|
|
void Jac_DSPcardDecodeAsync(void*, void*, DSPCallback);
|
|
void Jac_DSPagbDecodeAsync(void* task, void* cmd, DSPCallback callback);
|
|
|
|
// IPL Decode specific structs.
|
|
|
|
#define DSPTARGET_IPL 0
|
|
#define DSPTARGET_AGB 1
|
|
|
|
/**
|
|
* @brief TODO.
|
|
*/
|
|
typedef struct DSPTask {
|
|
u8 target; // _00, ipl (gc) or agb (gameboy player)
|
|
u32 cmd; // _04
|
|
void* task; // _08
|
|
DSPCallback callback; // _0C
|
|
} DSPTask;
|
|
|
|
//////////////////////////////////////////////////
|
|
|
|
#endif
|