diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-12-28 06:03:38 +0100 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-03-27 03:05:37 +0100 |
commit | 60f39060c68605c6b3628cea37ef4353f06b5d0e (patch) | |
tree | 880bd7ae3c02ce8ba3772b06ca8da6b062452113 /src/core/hle/service/aoc | |
parent | core: Store system-wide ContentProvider for the emulator (diff) | |
download | yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.gz yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.bz2 yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.lz yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.xz yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.zst yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.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(), |