summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/registered_cache.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-10 03:33:13 +0200
committerZach Hilman <zachhilman@gmail.com>2018-08-12 04:50:48 +0200
commitbfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31 (patch)
tree6ec1f2d655eae67b60341f7ac7b42c9feb134bd5 /src/core/file_sys/registered_cache.cpp
parentgame_list: Modify game list to scan installed titles (diff)
downloadyuzu-bfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31.tar
yuzu-bfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31.tar.gz
yuzu-bfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31.tar.bz2
yuzu-bfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31.tar.lz
yuzu-bfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31.tar.xz
yuzu-bfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31.tar.zst
yuzu-bfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31.zip
Diffstat (limited to 'src/core/file_sys/registered_cache.cpp')
-rw-r--r--src/core/file_sys/registered_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cpp
index 5440cdefb..766fef254 100644
--- a/src/core/file_sys/registered_cache.cpp
+++ b/src/core/file_sys/registered_cache.cpp
@@ -427,7 +427,7 @@ bool RegisteredCache::RawInstallYuzuMeta(const CNMT& cnmt) {
}
Refresh();
return std::find_if(yuzu_meta.begin(), yuzu_meta.end(),
- [&cnmt](const std::pair<const u64, CNMT>& kv) {
+ [&cnmt](const std::pair<u64, CNMT>& kv) {
return kv.second.GetType() == cnmt.GetType() &&
kv.second.GetTitleID() == cnmt.GetTitleID();
}) != yuzu_meta.end();