From 07f712f8a0c208e4610526fc9ccc307bab099f84 Mon Sep 17 00:00:00 2001 From: dreamsyntax Date: Thu, 26 Dec 2024 17:21:02 -0700 Subject: Core/VideoCommon: Fix duplicate OSD Custom Textures messages Resolves duplicate OSD messages for Loading and Found custom textures. VideoBackend initialization results in HiresTexture::Init being called. We already call HiresTexture::Update when OnNewTitleLoad is called. Thus we can remove HiresTextures::Init completely as it is redundant. --- Source/Core/VideoCommon/TextureCacheBase.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp') diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index a624734d60..61882476d7 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -99,8 +99,6 @@ TextureCacheBase::TextureCacheBase() TexDecoder_SetTexFmtOverlayOptions(m_backup_config.texfmt_overlay, m_backup_config.texfmt_overlay_center); - HiresTexture::Init(); - TMEM::InvalidateAll(); } -- cgit v1.2.3