mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
NetPlay: Sync power button event
This fixes the deadlock on shutdown when Wii Remotes are in use.
This commit is contained in:
parent
97e3200f57
commit
ef89e4e70c
7 changed files with 44 additions and 0 deletions
|
@ -43,6 +43,7 @@ public:
|
|||
virtual void OnMsgChangeGame(const std::string& filename) = 0;
|
||||
virtual void OnMsgStartGame() = 0;
|
||||
virtual void OnMsgStopGame() = 0;
|
||||
virtual void OnMsgPowerButton() = 0;
|
||||
virtual void OnPadBufferChanged(u32 buffer) = 0;
|
||||
virtual void OnHostInputAuthorityChanged(bool enabled) = 0;
|
||||
virtual void OnDesync(u32 frame, const std::string& player) = 0;
|
||||
|
@ -102,6 +103,7 @@ public:
|
|||
bool ChangeGame(const std::string& game);
|
||||
void SendChatMessage(const std::string& msg);
|
||||
void RequestStopGame();
|
||||
void SendPowerButtonEvent();
|
||||
|
||||
// Send and receive pads values
|
||||
bool WiimoteUpdate(int _number, u8* data, const u8 size, u8 reporting_mode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue