From fd742443396dd8d7ef458cecc629d9772396a4b6 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Fri, 21 Jul 2023 20:13:27 -0500 Subject: [PATCH] VideoCommon: add custom texture message to provide a dirty means of debugging whether custom textures are installed correctly --- Source/Core/VideoCommon/HiresTextures.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) 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()