InputCommon / VideoCommon: remove dynamic input reloading the texture cache, this is no longer needed, assets reload automatically!

This commit is contained in:
iwubcode 2023-03-22 20:56:13 -05:00
parent ca8d6748d6
commit e831d7b6bb
3 changed files with 5 additions and 32 deletions

View file

@ -42,13 +42,9 @@ void DynamicInputTextureManager::Load()
void DynamicInputTextureManager::GenerateTextures(const Common::IniFile& file,
const std::vector<std::string>& controller_names)
{
bool any_dirty = false;
for (const auto& configuration : m_configuration)
{
any_dirty |= configuration.GenerateTextures(file, controller_names);
(void)configuration.GenerateTextures(file, controller_names);
}
if (any_dirty && g_texture_cache && Core::GetState() != Core::State::Starting)
g_texture_cache->ForceReloadTextures();
}
} // namespace InputCommon