From 550e008774e643fe245938241a17c36db9877a02 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Thu, 21 Mar 2024 09:09:35 -0500 Subject: VideoCommon: Scan texture dumping directory + subdirectories to not re-dump existing files. --- Source/Core/VideoCommon/TextureCacheBase.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp') diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index e5b8122982..fbe4f107bf 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -52,7 +52,6 @@ #include "VideoCommon/TextureConversionShader.h" #include "VideoCommon/TextureConverterShaderGen.h" #include "VideoCommon/TextureDecoder.h" -#include "VideoCommon/TextureUtils.h" #include "VideoCommon/VertexManagerBase.h" #include "VideoCommon/VideoCommon.h" #include "VideoCommon/VideoConfig.h" @@ -1818,15 +1817,13 @@ RcTcacheEntry TextureCacheBase::CreateTextureEntry( const std::string basename = texture_info.CalculateTextureName().GetFullName(); if (g_ActiveConfig.bDumpBaseTextures) { - VideoCommon::TextureUtils::DumpTexture(*entry->texture, basename, 0, - entry->has_arbitrary_mips); + m_texture_dumper.DumpTexture(*entry->texture, basename, 0, entry->has_arbitrary_mips); } if (g_ActiveConfig.bDumpMipmapTextures) { for (u32 level = 1; level < texLevels; ++level) { - VideoCommon::TextureUtils::DumpTexture(*entry->texture, basename, level, - entry->has_arbitrary_mips); + m_texture_dumper.DumpTexture(*entry->texture, basename, level, entry->has_arbitrary_mips); } } } -- cgit v1.2.3