summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OnScreenUI.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-03-10 18:53:44 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2025-03-10 18:53:44 -0500
commit7f3d8a1ad4fa34307d4d7d3b4b50a0fe635c15f5 (patch)
treecc7273f6fe8de830b9e1dc3790829ad16611b8c1 /Source/Core/VideoCommon/OnScreenUI.cpp
parent5ed8b7bc9d8f70d5dae4f009939ac9715adf83b4 (diff)
VideoConfig: Eliminate NetPlay related members.
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenUI.cpp')
-rw-r--r--Source/Core/VideoCommon/OnScreenUI.cpp3
1 files changed, 2 insertions, 1 deletions
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)