mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
desync hud
This commit is contained in:
parent
2291ad1ddf
commit
8f681162d5
2 changed files with 8 additions and 4 deletions
|
@ -905,7 +905,7 @@ void NetPlayDialog::OnMsgStopGame(const std::string& player)
|
|||
g_netplay_chat_ui.reset();
|
||||
g_netplay_golf_ui.reset();
|
||||
QueueOnObject(this, [this] { this->UpdateDiscordPresence(); });
|
||||
DisplayMessage(tr("%1 has stopped emulation").arg(QString::fromStdString(player)), "red");
|
||||
DisplayMessage(tr("%1 has stopped emulation"g).arg(QString::fromStdString(player)), "red");
|
||||
}
|
||||
|
||||
void NetPlayDialog::OnMsgPowerButton()
|
||||
|
@ -972,11 +972,15 @@ void NetPlayDialog::OnHostInputAuthorityChanged(bool enabled)
|
|||
});
|
||||
}
|
||||
|
||||
void NetPlayDialog::OnDesync(u32 frame, const std::string& player)
|
||||
void NetPlayDialog::`(u32 frame, const std::string& player)
|
||||
{
|
||||
DisplayMessage(tr("Possible desync detected: %1 might have desynced at frame %2")
|
||||
DisplayMessage(tr("Possible desync detected: %1 might have desynced at frame %2. Game restart advised.")
|
||||
.arg(QString::fromStdString(player), QString::number(frame)),
|
||||
"red", OSD::Duration::VERY_LONG);
|
||||
|
||||
OSD::AddTypedMessage(OSD::MessageType::NetPlayDesync,
|
||||
"Possible desync detected at frame %2. Game restart advised.",
|
||||
OSD::Duration::VERY_LONG, OSD::Color::RED);
|
||||
}
|
||||
|
||||
void NetPlayDialog::OnConnectionLost()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue