diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-03-10 18:53:44 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2025-03-10 18:53:44 -0500 |
| commit | 7f3d8a1ad4fa34307d4d7d3b4b50a0fe635c15f5 (patch) | |
| tree | cc7273f6fe8de830b9e1dc3790829ad16611b8c1 /Source/Core/VideoCommon/OnScreenUI.cpp | |
| parent | 5ed8b7bc9d8f70d5dae4f009939ac9715adf83b4 (diff) | |
VideoConfig: Eliminate NetPlay related members.
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenUI.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/OnScreenUI.cpp | 3 |
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) |
