diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-02 02:32:38 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-02 05:43:23 +0100 |
commit | db4523f1ece642475d58f8764863c8930a0812e3 (patch) | |
tree | 53a96ed05770f77a1dd9bb463863c38e3dffa36c /src/core/hle/service/aoc/aoc_u.cpp | |
parent | Fix debug build (diff) | |
download | yuzu-db4523f1ece642475d58f8764863c8930a0812e3.tar yuzu-db4523f1ece642475d58f8764863c8930a0812e3.tar.gz yuzu-db4523f1ece642475d58f8764863c8930a0812e3.tar.bz2 yuzu-db4523f1ece642475d58f8764863c8930a0812e3.tar.lz yuzu-db4523f1ece642475d58f8764863c8930a0812e3.tar.xz yuzu-db4523f1ece642475d58f8764863c8930a0812e3.tar.zst yuzu-db4523f1ece642475d58f8764863c8930a0812e3.zip |
Diffstat (limited to '')
-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 bacf19de2..b160c8bee 100644 --- a/src/core/hle/service/aoc/aoc_u.cpp +++ b/src/core/hle/service/aoc/aoc_u.cpp @@ -32,14 +32,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()); |