summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/HiresTextures.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2023-07-21 20:13:27 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2023-07-21 20:13:27 -0500
commitfd742443396dd8d7ef458cecc629d9772396a4b6 (patch)
treebc0e5847fcddc54d2fc5f626f8a698e29ad8d491 /Source/Core/VideoCommon/HiresTextures.cpp
parent2764978bebce9cedf0e329c320951ff0508f7139 (diff)
VideoCommon: add custom texture message to provide a dirty means of debugging whether custom textures are installed correctly
Diffstat (limited to 'Source/Core/VideoCommon/HiresTextures.cpp')
-rw-r--r--Source/Core/VideoCommon/HiresTextures.cpp11
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()