summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-06-01 22:37:08 +0200
committerGitHub <noreply@github.com>2023-06-01 22:37:08 +0200
commitfee28e26a1aba3e47f97abbacd16af6c4cadf812 (patch)
tree945ce010b4826b0ac068014a6e32be798fa0561f /Source/Core/VideoCommon/TextureCacheBase.cpp
parent744a5ddfc4118b836b0da06b40022f22bf428a73 (diff)
parentdb712772b7e8685c230499a120a6bd2835f874e1 (diff)
Merge pull request #11869 from dvessel/texdump-compression
Add compression option for texture dumps.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index bcffe8e4ca..57808f9de6 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -1023,7 +1023,7 @@ void TextureCacheBase::DumpTexture(RcTcacheEntry& entry, std::string basename, u
if (File::Exists(filename))
return;
- entry->texture->Save(filename, level);
+ entry->texture->Save(filename, level, Config::Get(Config::GFX_TEXTURE_PNG_COMPRESSION_LEVEL));
}
// Helper for checking if a BPMemory TexMode0 register is set to Point