mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 04:02:47 +00:00
registered_cache: Get rid of variable shadowing in ProcessFiles()
Prevents compiler warnings.
This commit is contained in:
parent
be2f1eabd7
commit
d3934d7da7
|
@ -216,11 +216,11 @@ void RegisteredCache::ProcessFiles(const std::vector<NcaID>& ids) {
|
||||||
|
|
||||||
const auto section0 = nca->GetSubdirectories()[0];
|
const auto section0 = nca->GetSubdirectories()[0];
|
||||||
|
|
||||||
for (const auto& file : section0->GetFiles()) {
|
for (const auto& section0_file : section0->GetFiles()) {
|
||||||
if (file->GetExtension() != "cnmt")
|
if (section0_file->GetExtension() != "cnmt")
|
||||||
continue;
|
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);
|
meta_id.insert_or_assign(nca->GetTitleId(), id);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue