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; auto read() -> maybe; auto write(uint8 byte, uint2 addr) -> void; auto serialize(serializer& s) -> void; }; extern Player player;