mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00:00
InputCommon / VideoCommon: remove dynamic input reloading the texture cache, this is no longer needed, assets reload automatically!
This commit is contained in:
parent
ca8d6748d6
commit
e831d7b6bb
3 changed files with 5 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue