diff options
| author | JMC47 <JMC4789@gmail.com> | 2024-09-21 15:17:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-21 15:17:54 -0400 |
| commit | 3b9a70a4359cf64fc266be1b73107c64f0d602e5 (patch) | |
| tree | def9a21f745ceda8a5b33b98a684bb15279d6d93 /Source/Core/VideoCommon/VideoBackendBase.cpp | |
| parent | 18ccd157cd9c7e454b7001d2f2dc58ac3bb47668 (diff) | |
| parent | c3d6d2189a63f93db2ed2e8879f6f101e2e388fe (diff) | |
Merge pull request #13053 from Dentomologist/texture_dumping_show_osd_on_startup_and_toggle
Texture Dumping: Show OSD message on startup and when toggled
Diffstat (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoBackendBase.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp index a5d309cc96..1db7fb2ab6 100644 --- a/Source/Core/VideoCommon/VideoBackendBase.cpp +++ b/Source/Core/VideoCommon/VideoBackendBase.cpp @@ -52,6 +52,7 @@ #include "VideoCommon/GeometryShaderManager.h" #include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.h" #include "VideoCommon/IndexGenerator.h" +#include "VideoCommon/OnScreenDisplay.h" #include "VideoCommon/OpcodeDecoding.h" #include "VideoCommon/PixelEngine.h" #include "VideoCommon/PixelShaderManager.h" @@ -392,6 +393,12 @@ bool VideoBackendBase::InitializeShared(std::unique_ptr<AbstractGfx> gfx, g_Config.VerifyValidity(); UpdateActiveConfig(); + if (g_Config.bDumpTextures) + { + OSD::AddMessage(fmt::format("Texture Dumping is enabled. This will reduce performance."), + OSD::Duration::NORMAL); + } + g_shader_cache->InitializeShaderCache(); return true; |
