Final default case for decompression switch.
This commit is contained in:
parent
99d6a3beb1
commit
791b2cd5e6
1 changed files with 2 additions and 0 deletions
|
@ -135,6 +135,8 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
|
||||||
case CompressionAlgorithm.Brotli:
|
case CompressionAlgorithm.Brotli:
|
||||||
_activeStream = new BrotliStream(_stream, CompressionMode.Decompress, true);
|
_activeStream = new BrotliStream(_stream, CompressionMode.Decompress, true);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
throw new ArgumentException($"Invalid compression algorithm \"{algorithm}\"");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue