mirror of https://github.com/bsnes-emu/bsnes.git
25 lines
370 B
C++
25 lines
370 B
C++
struct Player {
|
|
struct Status {
|
|
bool enable;
|
|
bool rumble;
|
|
|
|
bool logoDetected;
|
|
unsigned logoCounter;
|
|
|
|
unsigned packet;
|
|
uint32 send;
|
|
uint32 recv;
|
|
} status;
|
|
|
|
void power();
|
|
void frame();
|
|
|
|
maybe<uint16> keyinput();
|
|
maybe<uint32> read();
|
|
void write(uint8 byte, uint2 addr);
|
|
|
|
void serialize(serializer& s);
|
|
};
|
|
|
|
extern Player player;
|