diff options
author | bunnei <bunneidev@gmail.com> | 2018-12-03 23:11:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 23:11:26 +0100 |
commit | f6b22d9251bd45c7bafec2214911f7a818e99cbf (patch) | |
tree | d79ba08d69fbd9686a8f49c9282c0c8a74af3609 /src/core/hle/service/aoc | |
parent | Merge pull request #1822 from ReinUsesLisp/glsl-scope (diff) | |
parent | filesystem: De-globalize registered_cache_union (diff) | |
download | yuzu-f6b22d9251bd45c7bafec2214911f7a818e99cbf.tar yuzu-f6b22d9251bd45c7bafec2214911f7a818e99cbf.tar.gz yuzu-f6b22d9251bd45c7bafec2214911f7a818e99cbf.tar.bz2 yuzu-f6b22d9251bd45c7bafec2214911f7a818e99cbf.tar.lz yuzu-f6b22d9251bd45c7bafec2214911f7a818e99cbf.tar.xz yuzu-f6b22d9251bd45c7bafec2214911f7a818e99cbf.tar.zst yuzu-f6b22d9251bd45c7bafec2214911f7a818e99cbf.zip |
Diffstat (limited to 'src/core/hle/service/aoc')
-rw-r--r-- | src/core/hle/service/aoc/aoc_u.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/aoc/aoc_u.cpp b/src/core/hle/service/aoc/aoc_u.cpp index b276de332..0417fdb92 100644 --- a/src/core/hle/service/aoc/aoc_u.cpp +++ b/src/core/hle/service/aoc/aoc_u.cpp @@ -34,14 +34,14 @@ static std::vector<u64> AccumulateAOCTitleIDs() { std::vector<u64> add_on_content; const auto rcu = FileSystem::GetUnionContents(); const auto list = - rcu->ListEntriesFilter(FileSys::TitleType::AOC, FileSys::ContentRecordType::Data); + rcu.ListEntriesFilter(FileSys::TitleType::AOC, FileSys::ContentRecordType::Data); std::transform(list.begin(), list.end(), std::back_inserter(add_on_content), [](const FileSys::RegisteredCacheEntry& rce) { return rce.title_id; }); add_on_content.erase( std::remove_if( add_on_content.begin(), add_on_content.end(), [&rcu](u64 tid) { - return rcu->GetEntry(tid, FileSys::ContentRecordType::Data)->GetStatus() != + return rcu.GetEntry(tid, FileSys::ContentRecordType::Data)->GetStatus() != Loader::ResultStatus::Success; }), add_on_content.end()); |