mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 07:39:56 -06:00
basic implementation of SNDExCnt
isn't hooked up to the DSP or microphone though fixes memory abort in TwilightMenu
This commit is contained in:
@ -24,11 +24,12 @@
|
||||
|
||||
// TODO: for actual sound output
|
||||
// * audio callbacks
|
||||
// * SNDEXCNT
|
||||
|
||||
namespace DSi_DSP
|
||||
{
|
||||
|
||||
extern u16 SNDExCnt;
|
||||
|
||||
extern u16 DSP_PDATA;
|
||||
extern u16 DSP_PADR;
|
||||
extern u16 DSP_PCFG;
|
||||
@ -65,6 +66,8 @@ void Write16(u32 addr, u16 val);
|
||||
u32 Read32(u32 addr);
|
||||
void Write32(u32 addr, u32 val);
|
||||
|
||||
void WriteSNDExCnt(u16 val);
|
||||
|
||||
// NOTE: checks SCFG_CLK9
|
||||
void Run(u32 cycles);
|
||||
|
||||
|
Reference in New Issue
Block a user