mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-23 07:11:22 -08:00
Change Deflate compression level to Fastest
. (#6812)
This commit is contained in:
parent
091230af22
commit
9ec8b2c01a
@ -141,7 +141,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
|
|||||||
|
|
||||||
if (algorithm == CompressionAlgorithm.Deflate)
|
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);
|
stream.Write(data);
|
||||||
break;
|
break;
|
||||||
case CompressionAlgorithm.Deflate:
|
case CompressionAlgorithm.Deflate:
|
||||||
stream = new DeflateStream(stream, CompressionLevel.SmallestSize, true);
|
stream = new DeflateStream(stream, CompressionLevel.Fastest, true);
|
||||||
stream.Write(data);
|
stream.Write(data);
|
||||||
stream.Dispose();
|
stream.Dispose();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user