diff options
author | lat9nq <lat9nq@virginia.edu> | 2020-07-10 04:42:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 04:42:09 +0200 |
commit | 63d23835ef4445b3a010cc0e8b1e73ebe012ac08 (patch) | |
tree | b243c1167280dbf2e3f5af4597b6638fb707f091 /src/video_core/renderer_opengl/gl_shader_disk_cache.cpp | |
parent | Merge pull request #4281 from RealJohnGalt/linkfix2 (diff) | |
download | yuzu-63d23835ef4445b3a010cc0e8b1e73ebe012ac08.tar yuzu-63d23835ef4445b3a010cc0e8b1e73ebe012ac08.tar.gz yuzu-63d23835ef4445b3a010cc0e8b1e73ebe012ac08.tar.bz2 yuzu-63d23835ef4445b3a010cc0e8b1e73ebe012ac08.tar.lz yuzu-63d23835ef4445b3a010cc0e8b1e73ebe012ac08.tar.xz yuzu-63d23835ef4445b3a010cc0e8b1e73ebe012ac08.tar.zst yuzu-63d23835ef4445b3a010cc0e8b1e73ebe012ac08.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_disk_cache.cpp | 2 |
1 files changed, 1 insertions, 1 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 653c3f2f9..2dcc2b0eb 100644 --- a/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp @@ -213,7 +213,7 @@ ShaderDiskCacheOpenGL::~ShaderDiskCacheOpenGL() = default; std::optional<std::vector<ShaderDiskCacheEntry>> ShaderDiskCacheOpenGL::LoadTransferable() { // Skip games without title id const bool has_title_id = system.CurrentProcess()->GetTitleID() != 0; - if (!Settings::values.use_disk_shader_cache || !has_title_id) { + if (!Settings::values.use_disk_shader_cache.GetValue() || !has_title_id) { return {}; } |