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