From 7f3d8a1ad4fa34307d4d7d3b4b50a0fe635c15f5 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Mon, 10 Mar 2025 18:53:44 -0500 Subject: VideoConfig: Eliminate NetPlay related members. --- Source/Core/VideoCommon/OnScreenUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/OnScreenUI.cpp') diff --git a/Source/Core/VideoCommon/OnScreenUI.cpp b/Source/Core/VideoCommon/OnScreenUI.cpp index 23e11ce1cf..d1c15f7f80 100644 --- a/Source/Core/VideoCommon/OnScreenUI.cpp +++ b/Source/Core/VideoCommon/OnScreenUI.cpp @@ -8,6 +8,7 @@ #include "Common/Timer.h" #include "Core/AchievementManager.h" +#include "Core/Config/GraphicsSettings.h" #include "Core/Config/MainSettings.h" #include "Core/Config/NetplaySettings.h" #include "Core/Movie.h" @@ -314,7 +315,7 @@ void OnScreenUI::DrawDebugText() if (g_ActiveConfig.bOverlayStats) g_stats.Display(); - if (g_ActiveConfig.bShowNetPlayMessages && g_netplay_chat_ui) + if (Config::Get(Config::GFX_SHOW_NETPLAY_MESSAGES) && g_netplay_chat_ui) g_netplay_chat_ui->Display(); if (Config::Get(Config::NETPLAY_GOLF_MODE_OVERLAY) && g_netplay_golf_ui) -- cgit v1.2.3