summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorunknown <FreddyFunk@users.noreply.github.com>2019-02-09 10:20:52 +0100
committerFreddyFunk <FreddyFunk@users.noreply.github.com>2019-03-29 18:22:08 +0100
commitaa92da205e3f975dffc3c706fb0a176f13649492 (patch)
tree0783642c39b3e67da8a37a76928c5b83536b883f /src
parentgl_shader_disk_cache: Use Zstandard for compression (diff)
downloadyuzu-aa92da205e3f975dffc3c706fb0a176f13649492.tar
yuzu-aa92da205e3f975dffc3c706fb0a176f13649492.tar.gz
yuzu-aa92da205e3f975dffc3c706fb0a176f13649492.tar.bz2
yuzu-aa92da205e3f975dffc3c706fb0a176f13649492.tar.lz
yuzu-aa92da205e3f975dffc3c706fb0a176f13649492.tar.xz
yuzu-aa92da205e3f975dffc3c706fb0a176f13649492.tar.zst
yuzu-aa92da205e3f975dffc3c706fb0a176f13649492.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_disk_cache.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp b/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp
index e74ffd291..ec32602ad 100644
--- a/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp
@@ -10,8 +10,8 @@
#include "common/common_types.h"
#include "common/file_util.h"
#include "common/logging/log.h"
-#include "common/zstd_compression.h"
#include "common/scm_rev.h"
+#include "common/zstd_compression.h"
#include "core/core.h"
#include "core/hle/kernel/process.h"
@@ -288,7 +288,8 @@ std::optional<ShaderDiskCacheDecompiled> ShaderDiskCacheOpenGL::LoadDecompiledEn
return {};
}
- const std::vector<u8> code = Common::Compression::DecompressDataZSTD(compressed_code, code_size);
+ const std::vector<u8> code =
+ Common::Compression::DecompressDataZSTD(compressed_code, code_size);
if (code.empty()) {
return {};
}