cog/Frameworks/GME/vgmplay/chips/np_nes_fds.h

17 lines
596 B
C
Raw Normal View History

#ifndef _NP_NES_FDS_H_
#define _NP_NES_FDS_H_
void* NES_FDS_Create(int clock, int rate);
void NES_FDS_Destroy(void* chip);
void NES_FDS_Reset(void* chip);
UINT32 NES_FDS_Render(void* chip, INT32 b[2]);
bool NES_FDS_Write(void* chip, UINT32 adr, UINT32 val);
bool NES_FDS_Read(void* chip, UINT32 adr, UINT32* val);
void NES_FDS_SetRate(void* chip, double r);
void NES_FDS_SetClock(void* chip, double c);
void NES_FDS_SetOption(void* chip, int id, int val);
void NES_FDS_SetMask(void* chip, int m);
void NES_FDS_SetStereoMix(void* chip, int trk, INT16 mixl, INT16 mixr);
#endif // _NP_NES_FDS_H_