diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-07-23 03:45:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-23 03:45:22 +0200 |
| commit | e3ef3cb75216310406f80bda9dd3540d7d333d3e (patch) | |
| tree | 57f6789183e5fea4241c2ed6092af0031d737ad8 /Source/Core/VideoCommon/HiresTextures.cpp | |
| parent | 3d9bc859127e3aa5a6fd1a4017a11d0ba2429fe5 (diff) | |
| parent | fd742443396dd8d7ef458cecc629d9772396a4b6 (diff) | |
Merge pull request #12062 from iwubcode/custom_textures_debug
VideoCommon: add startup message to know if custom textures are installed
Diffstat (limited to 'Source/Core/VideoCommon/HiresTextures.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/HiresTextures.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/HiresTextures.cpp b/Source/Core/VideoCommon/HiresTextures.cpp index 27fc75ec4d..c70e5523f8 100644 --- a/Source/Core/VideoCommon/HiresTextures.cpp +++ b/Source/Core/VideoCommon/HiresTextures.cpp @@ -147,6 +147,17 @@ void HiresTexture::Update() texture_directory); } } + + if (g_ActiveConfig.bCacheHiresTextures) + { + OSD::AddMessage(fmt::format("Loading '{}' custom textures", s_hires_texture_cache.size()), + 10000); + } + else + { + OSD::AddMessage( + fmt::format("Found '{}' custom textures", s_hires_texture_id_to_arbmipmap.size()), 10000); + } } void HiresTexture::Clear() |
