mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-10 21:00:57 -04:00
jaudio_NES: building from pik1
This commit is contained in:
@@ -1,15 +1,36 @@
|
||||
#ifndef CMDSTACK_H
|
||||
#define CMDSTACK_H
|
||||
#ifndef _JAUDIO_CMDSTACK_H
|
||||
#define _JAUDIO_CMDSTACK_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
typedef struct JPorthead_ {
|
||||
u32 _00; // _00
|
||||
u32 _04; // _04
|
||||
} JPorthead_;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#endif // ifdef __cplusplus
|
||||
|
||||
void Add_PortcmdOnce(u32*);
|
||||
void Add_PortcmdStay(void); // UNUSED but we know it's extern "C"
|
||||
int Set_Portcmd(int*, int, int);
|
||||
BOOL Add_Portcmd(JPorthead_*, u32*);
|
||||
void Cancel_Portcmd(void); // UNUSED but we know it's extern "C"
|
||||
void Cancel_PortcmdStay(void); // UNUSED but we know it's extern "C"
|
||||
int Jac_Portcmd_Proc_Once(JPorthead_*);
|
||||
int Jac_Portcmd_Proc_Stay(JPorthead_*);
|
||||
void Jac_Porthead_Init(JPorthead_*);
|
||||
void Jac_Portcmd_Init(void);
|
||||
void JP_Pitch1Shot(void); // UNUSED but we know it's extern "C"
|
||||
void JP_Start1Shot(void); // UNUSED but we know it's extern "C"
|
||||
void JP_Stop1Shot(void); // UNUSED but we know it's extern "C"
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif // ifdef __cplusplus
|
||||
|
||||
#endif
|
||||
static int Get_Portcmd(JPorthead_* port);
|
||||
static s32 Portcmd_Main(void* a);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user