VideoConfig: Eliminate NetPlay related members.

This commit is contained in:
Jordan Woyak committed 2025-03-10 18:53:44 -05:00
1 parent 5ed8b7bc9d
commit 7f3d8a1ad4
5 files changed
+6 -7

No files matched your search

@@ -805,7 +805,8 @@ void NetPlayDialog::DisplayMessage(const QString& msg, const std::string& color,
QColor c(color.empty() ? QStringLiteral("white") : QString::fromStdString(color));
if (g_ActiveConfig.bShowNetPlayMessages && Core::IsRunning(Core::System::GetInstance()))
if (Config::Get(Config::GFX_SHOW_NETPLAY_MESSAGES) &&
Core::IsRunning(Core::System::GetInstance()))
{
g_netplay_chat_ui->AppendChat(msg.toStdString(),
{static_cast<float>(c.redF()), static_cast<float>(c.greenF()),