diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-27 21:55:43 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-27 21:55:56 +0200 |
commit | d3934d7da70fd23d9429281c72026fc2461fe1f7 (patch) | |
tree | 53ad0e721e7c9084917ea0822869b71f374a75b2 /src/core | |
parent | Merge pull request #1173 from lioncash/batch (diff) | |
download | yuzu-d3934d7da70fd23d9429281c72026fc2461fe1f7.tar yuzu-d3934d7da70fd23d9429281c72026fc2461fe1f7.tar.gz yuzu-d3934d7da70fd23d9429281c72026fc2461fe1f7.tar.bz2 yuzu-d3934d7da70fd23d9429281c72026fc2461fe1f7.tar.lz yuzu-d3934d7da70fd23d9429281c72026fc2461fe1f7.tar.xz yuzu-d3934d7da70fd23d9429281c72026fc2461fe1f7.tar.zst yuzu-d3934d7da70fd23d9429281c72026fc2461fe1f7.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/file_sys/registered_cache.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cpp index a02efc71e..dacf8568b 100644 --- a/src/core/file_sys/registered_cache.cpp +++ b/src/core/file_sys/registered_cache.cpp @@ -216,11 +216,11 @@ void RegisteredCache::ProcessFiles(const std::vector<NcaID>& ids) { const auto section0 = nca->GetSubdirectories()[0]; - for (const auto& file : section0->GetFiles()) { - if (file->GetExtension() != "cnmt") + for (const auto& section0_file : section0->GetFiles()) { + if (section0_file->GetExtension() != "cnmt") continue; - meta.insert_or_assign(nca->GetTitleId(), CNMT(file)); + meta.insert_or_assign(nca->GetTitleId(), CNMT(section0_file)); meta_id.insert_or_assign(nca->GetTitleId(), id); break; } |