mirror of https://github.com/bsnes-emu/bsnes.git
19 lines
274 B
C++
19 lines
274 B
C++
|
struct HSU1 {
|
||
|
void init();
|
||
|
void load();
|
||
|
void unload();
|
||
|
void power();
|
||
|
void reset();
|
||
|
|
||
|
uint8 read(unsigned addr);
|
||
|
void write(unsigned addr, uint8 data);
|
||
|
|
||
|
void serialize(serializer&);
|
||
|
|
||
|
private:
|
||
|
uint8 packet[512];
|
||
|
unsigned packetlength;
|
||
|
};
|
||
|
|
||
|
extern HSU1 hsu1;
|