mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-10 12:56:20 +02:00
Add compression option for texture dumps.
Enable through command line options: -C Graphics.Settings.TexturePNGCompressionLevel=[0-9] Or from GFX.ini: [Settings] TexturePNGCompressionLevel=[0-9] @see #10792
This commit is contained in:
1 parent
6743ca8e09
commit
db712772b7
5 files changed
+7
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user