snes9x/apu/bapu/dsp/dsp.hpp
Brandon Wright 10a521e39c byuu APU now being used. Nothing works yet.
Sync is broken, but the new SMP will handle ratios now.
Save states need to be redone without serializer.
No SPC dumping.
2011-06-18 05:31:44 -05:00

27 lines
428 B
C++
Executable File

#include "SPC_DSP.h"
class DSP : public Processor {
public:
enum { Threaded = false };
alwaysinline void step(unsigned clocks);
alwaysinline void synchronize_smp();
uint8 read(uint8 addr);
void write(uint8 addr, uint8 data);
void enter();
void power();
void reset();
void channel_enable(unsigned channel, bool enable);
DSP();
SPC_DSP spc_dsp;
private:
bool channel_enabled[8];
};
extern DSP dsp;