mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 18:01:56 +00:00
revert changes
This commit is contained in:
parent
8f681162d5
commit
83c63db3be
2 changed files with 3 additions and 4 deletions
|
@ -89,7 +89,7 @@ public:
|
|||
const std::string& netplay_name) = 0;
|
||||
virtual void OnMsgChangeGBARom(int pad, const NetPlay::GBAConfig& config) = 0;
|
||||
virtual void OnMsgStartGame() = 0;
|
||||
virtual void OnMsgStopGame(const std::string& player) = 0;
|
||||
virtual void OnMsgStopGame() = 0;
|
||||
virtual void OnMsgPowerButton() = 0;
|
||||
virtual void OnPlayerConnect(const std::string& player) = 0;
|
||||
virtual void OnPlayerDisconnect(const std::string& player) = 0;
|
||||
|
|
|
@ -900,12 +900,11 @@ void NetPlayDialog::OnMsgStartGame()
|
|||
});
|
||||
}
|
||||
|
||||
void NetPlayDialog::OnMsgStopGame(const std::string& player)
|
||||
void NetPlayDialog::OnMsgStopGame()
|
||||
{
|
||||
g_netplay_chat_ui.reset();
|
||||
g_netplay_golf_ui.reset();
|
||||
QueueOnObject(this, [this] { this->UpdateDiscordPresence(); });
|
||||
DisplayMessage(tr("%1 has stopped emulation"g).arg(QString::fromStdString(player)), "red");
|
||||
QueueOnObject(this, [this] { UpdateDiscordPresence(); });
|
||||
}
|
||||
|
||||
void NetPlayDialog::OnMsgPowerButton()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue