diff options
author | bunnei <bunneidev@gmail.com> | 2019-04-10 01:16:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-10 01:16:37 +0200 |
commit | 61f63bb994e358b925771bd51898822573e5780e (patch) | |
tree | a6a9f12b12b5946c04ccaf0856e0f3a94bbffe17 /src/core/hle/service/aoc | |
parent | Merge pull request #2366 from FernandoS27/xmad-fix (diff) | |
parent | patch_manager: Dump NSO name with build ID (diff) | |
download | yuzu-61f63bb994e358b925771bd51898822573e5780e.tar yuzu-61f63bb994e358b925771bd51898822573e5780e.tar.gz yuzu-61f63bb994e358b925771bd51898822573e5780e.tar.bz2 yuzu-61f63bb994e358b925771bd51898822573e5780e.tar.lz yuzu-61f63bb994e358b925771bd51898822573e5780e.tar.xz yuzu-61f63bb994e358b925771bd51898822573e5780e.tar.zst yuzu-61f63bb994e358b925771bd51898822573e5780e.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 b506bc3dd..2d768d9fc 100644 --- a/src/core/hle/service/aoc/aoc_u.cpp +++ b/src/core/hle/service/aoc/aoc_u.cpp @@ -33,11 +33,11 @@ static bool CheckAOCTitleIDMatchesBase(u64 title_id, u64 base) { static std::vector<u64> AccumulateAOCTitleIDs() { std::vector<u64> add_on_content; - const auto rcu = FileSystem::GetUnionContents(); + const auto& rcu = Core::System::GetInstance().GetContentProvider(); const auto list = 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; }); + [](const FileSys::ContentProviderEntry& rce) { return rce.title_id; }); add_on_content.erase( std::remove_if( add_on_content.begin(), add_on_content.end(), |