From 8a5abbddc41120ec21a5bb2632279895b884c1ff Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Mon, 28 May 2012 11:39:55 +0200 Subject: [PATCH] Enable texture format overlay on the fly. --- Source/Core/VideoCommon/Src/TextureCacheBase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp index 69e4bffff8..268eab38d1 100644 --- a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp @@ -98,6 +98,7 @@ void TextureCache::OnConfigChanged(VideoConfig& config) HiresTextures::Init(SConfig::GetInstance().m_LocalCoreStartupParameter.m_strUniqueID.c_str()); SetHash64Function(g_ActiveConfig.bHiresTextures || g_ActiveConfig.bDumpTextures); + TexDecoder_SetTexFmtOverlayOptions(g_ActiveConfig.bTexFmtOverlayEnable, g_ActiveConfig.bTexFmtOverlayCenter); } // TODO: Probably shouldn't clear all render targets here, just mark them dirty or something.