mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-15 20:49:01 +00:00
Merge pull request #7564 from Techjar/netplay-sync-wii-shutdown
NetPlay: Sync power button event
This commit is contained in:
commit
41333fa971
7 changed files with 44 additions and 0 deletions
|
@ -743,6 +743,14 @@ unsigned int NetPlayServer::OnData(sf::Packet& packet, Client& player)
|
|||
}
|
||||
break;
|
||||
|
||||
case NP_MSG_POWER_BUTTON:
|
||||
{
|
||||
sf::Packet spac;
|
||||
spac << static_cast<MessageId>(NP_MSG_POWER_BUTTON);
|
||||
SendToClients(spac, player.pid);
|
||||
}
|
||||
break;
|
||||
|
||||
case NP_MSG_TIMEBASE:
|
||||
{
|
||||
u64 timebase = Common::PacketReadU64(packet);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue