mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-10 04:46:50 -04:00
Implement & link jaudio_NES/neosthread.c
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef AUDIOCONST_H
|
||||
#define AUDIOCONST_H
|
||||
|
||||
#include "types.h"
|
||||
#include "jaudio_NES/audiostruct.h"
|
||||
|
||||
typedef struct ALGlobalsConst_ {
|
||||
s8 maxChan;
|
||||
s16 timeBase;
|
||||
s32 acmdBufSize;
|
||||
s32 fixSize;
|
||||
s32 ememSize;
|
||||
} ALGlobalsConst;
|
||||
|
||||
extern ALGlobalsConst AGC;
|
||||
|
||||
#endif
|
||||
@@ -6,5 +6,6 @@
|
||||
|
||||
extern u32 CpubufProcess(DSPBUF_EVENTS event);
|
||||
extern void CpuFrameEnd(void);
|
||||
extern s16* MixCpu(s32 nSamples);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
typedef void (*Jac_DVDCallback)(u32);
|
||||
|
||||
extern s32 DVDT_LoadtoARAM(u32 owner, char* path, u32 dram, u32 aram, u32 len, u32* outLen, Jac_DVDCallback callback);
|
||||
extern s32 DVDT_DRAMtoARAM(u32 owner, u32 dram, u32 aram, u32 len, u32* outLen, Jac_DVDCallback callback);
|
||||
extern s32 DVDT_ARAMtoDRAM(u32 owner, u32 dram, u32 aram, u32 len, u32* outLen, Jac_DVDCallback callback);
|
||||
extern u32 Jac_CheckFile(char* path);
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define NEOSTHREAD_H
|
||||
|
||||
#include "types.h"
|
||||
#include "jaudio_NES/audiostruct.h"
|
||||
|
||||
extern void* neosproc(void* param);
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#ifndef RSPSIM_H
|
||||
#define RSPSIM_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
extern void RspStart2(u32* pTaskCmds, s32 allTasks, s32 param_3);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,9 @@
|
||||
#ifndef SUB_SYS_H
|
||||
#define SUB_SYS_H
|
||||
|
||||
#include "types.h"
|
||||
#include "jaudio_NES/audiostruct.h"
|
||||
|
||||
extern s32 CreateAudioTask(Acmd* cmds, s16* pSamples, u32 nSamples, s32 param_4);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,8 @@
|
||||
#ifndef SYSTEM_H
|
||||
#define SYSTEM_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
extern void Nas_InitAudio(u64* acmdBuf, s32 acmdBufSize);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user