aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMutantAura <44103205+MutantAura@users.noreply.github.com>2024-05-16 18:19:37 +0100
committerGitHub <noreply@github.com>2024-05-16 14:19:37 -0300
commit9ec8b2c01a0b00f3a33d9a23b9f5ff3758520484 (patch)
treee3e0e437bda97e6d785917982e3195dbee6c17ba /src
parent091230af222a309584ab35df8379ab3a725cd3c1 (diff)
Change Deflate compression level to `Fastest`. (#6812)1.1.1313
Diffstat (limited to 'src')
-rw-r--r--src/Ryujinx.Graphics.Gpu/Shader/DiskCache/BinarySerializer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/BinarySerializer.cs b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/BinarySerializer.cs
index b08c44d6..c4a648fe 100644
--- a/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/BinarySerializer.cs
+++ b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/BinarySerializer.cs
@@ -141,7 +141,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
if (algorithm == CompressionAlgorithm.Deflate)
{
- _activeStream = new DeflateStream(_stream, CompressionLevel.SmallestSize, true);
+ _activeStream = new DeflateStream(_stream, CompressionLevel.Fastest, true);
}
}
@@ -206,7 +206,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
stream.Write(data);
break;
case CompressionAlgorithm.Deflate:
- stream = new DeflateStream(stream, CompressionLevel.SmallestSize, true);
+ stream = new DeflateStream(stream, CompressionLevel.Fastest, true);
stream.Write(data);
stream.Dispose();
break;