소스 검색

Change Deflate compression level to `Fastest`. (#6812)

MutantAura 2 년 전
부모
커밋
9ec8b2c01a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/Ryujinx.Graphics.Gpu/Shader/DiskCache/BinarySerializer.cs

+ 2 - 2
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;