VideoCommon: add custom texture message to provide a dirty means of debugging whether custom textures are installed correctly

This commit is contained in:
iwubcode 2023-07-21 20:13:27 -05:00 committed by Nayla Hanegan
commit ad6ced6957
No known key found for this signature in database
GPG key ID: 3075216CED0DB01D

View file

@ -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()