25 lines
354 B
C++
25 lines
354 B
C++
#include "SPC_DSP.h"
|
|
|
|
class DSP : public Processor {
|
|
public:
|
|
inline uint8 read(uint8 addr) {
|
|
return spc_dsp.read(addr);
|
|
}
|
|
|
|
inline void write(uint8 addr, uint8 data) {
|
|
spc_dsp.write(addr, data);
|
|
}
|
|
|
|
void save_state(uint8 **);
|
|
void load_state(uint8 **);
|
|
|
|
void power();
|
|
void reset();
|
|
|
|
DSP();
|
|
|
|
SPC_DSP spc_dsp;
|
|
};
|
|
|
|
extern DSP dsp;
|