diff options
| author | Techjar <tecknojar@gmail.com> | 2019-04-02 17:13:42 -0400 |
|---|---|---|
| committer | Techjar <tecknojar@gmail.com> | 2019-04-05 07:01:03 -0400 |
| commit | 6c393f9ff420c2a4185122cfb1bed0fbb2bcfad9 (patch) | |
| tree | 1effd674b2f64fc0198a333bb4856e48be84cc8e /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | 1a128763305489df3d691a990bbd6033792dd1e1 (diff) | |
Add imgui golf mode overlay
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index 688c7fc43b..09d59e4877 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -37,6 +37,7 @@ #include "Common/Timer.h" #include "Core/Analytics.h" +#include "Core/Config/NetplaySettings.h" #include "Core/Config/SYSCONFSettings.h" #include "Core/ConfigManager.h" #include "Core/Core.h" @@ -58,6 +59,7 @@ #include "VideoCommon/FramebufferManager.h" #include "VideoCommon/ImageWrite.h" #include "VideoCommon/NetPlayChatUI.h" +#include "VideoCommon/NetPlayGolfUI.h" #include "VideoCommon/OnScreenDisplay.h" #include "VideoCommon/PixelEngine.h" #include "VideoCommon/PixelShaderManager.h" @@ -532,6 +534,9 @@ void Renderer::DrawDebugText() if (g_ActiveConfig.bShowNetPlayMessages && g_netplay_chat_ui) g_netplay_chat_ui->Display(); + if (Config::Get(Config::NETPLAY_GOLF_MODE_OVERLAY) && g_netplay_golf_ui) + g_netplay_golf_ui->Display(); + if (g_ActiveConfig.bOverlayProjStats) Statistics::DisplayProj(); } |
