Skip to content

Commit

Permalink
Update Desync message
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleCoaks committed Apr 15, 2024
1 parent 91a6a80 commit 544efa9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1263,12 +1263,9 @@ void NetPlayDialog::OnHostInputAuthorityChanged(bool enabled)

void NetPlayDialog::OnDesync(u32 frame, const std::string& player)
{
/* DisplayMessage(tr("Possible desync detected: %1 might have desynced at frame %2")
.arg(QString::fromStdString(player), QString::number(frame)),
"red", OSD::Duration::VERY_LONG);*/
OSD::AddTypedMessage(OSD::MessageType::NetPlayDesync,
"Possible desync detected. Game restart advised.",
OSD::Duration::VERY_LONG, OSD::Color::RED);
"Possible desync detected. Game restart advised (if this goes away, it's a false alarm).",
OSD::Duration::SHORT, OSD::Color::RED);
// TODO:
// tell stat tracker here that a desync happened. write it to the event & gamestate
}
Expand Down

0 comments on commit 544efa9

Please sign in to comment.