snes9x/apu/bapu/dsp/sdsp.hpp

25 lines
354 B
C++
Raw Normal View History

2011-06-12 06:25:22 +00:00
#include "SPC_DSP.h"
class DSP : public Processor {
public:
inline uint8 read(uint8 addr) {
return spc_dsp.read(addr);
}
2011-06-12 06:25:22 +00:00
inline void write(uint8 addr, uint8 data) {
spc_dsp.write(addr, data);
}
2011-06-12 06:25:22 +00:00
2011-06-24 11:42:04 +00:00
void save_state(uint8 **);
void load_state(uint8 **);
2011-06-12 06:25:22 +00:00
void power();
void reset();
DSP();
SPC_DSP spc_dsp;
};
extern DSP dsp;