Skip to content

Commit

Permalink
Core/VideoCommon: Clear on HiresTexture::Init
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamsyntax committed Dec 27, 2024
1 parent 6705062 commit 28959dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Source/Core/Core/ConfigManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ void SConfig::OnNewTitleLoad(const Core::CPUThreadGuard& guard)
CBoot::LoadMapFromFilename(guard, ppc_symbol_db);
HLE::Reload(system);
PatchEngine::Reload(system);
HiresTexture::Update();
WC24PatchEngine::Reload();
}

Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/HiresTextures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ std::pair<std::string, bool> GetNameArbPair(const TextureInfo& texture_info)

void HiresTexture::Init()
{
Update();
Clear();
}

void HiresTexture::Shutdown()
Expand Down

0 comments on commit 28959dc

Please sign in to comment.