early-access version 2648
This commit is contained in:
parent
614f3e6a00
commit
2ffe9685e5
2 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 2647.
|
This is the source code for early-access 2648.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
|
@ -387,15 +387,17 @@ std::vector<NcaID> RegisteredCache::AccumulateFiles() const {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (const auto& nca_dir : d2_dir->GetSubdirectories()) {
|
for (const auto& nca_dir : d2_dir->GetSubdirectories()) {
|
||||||
if (!FollowsNcaIdFormat(nca_dir->GetName()))
|
if (nca_dir == nullptr || !FollowsNcaIdFormat(nca_dir->GetName())) {
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
ids.push_back(Common::HexStringToArray<0x10, true>(nca_dir->GetName().substr(0, 0x20)));
|
ids.push_back(Common::HexStringToArray<0x10, true>(nca_dir->GetName().substr(0, 0x20)));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const auto& nca_file : d2_dir->GetFiles()) {
|
for (const auto& nca_file : d2_dir->GetFiles()) {
|
||||||
if (!FollowsNcaIdFormat(nca_file->GetName()))
|
if (nca_file == nullptr || !FollowsNcaIdFormat(nca_file->GetName())) {
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
ids.push_back(
|
ids.push_back(
|
||||||
Common::HexStringToArray<0x10, true>(nca_file->GetName().substr(0, 0x20)));
|
Common::HexStringToArray<0x10, true>(nca_file->GetName().substr(0, 0x20)));
|
||||||
|
|
Loading…
Reference in a new issue