Merge pull request #1957 from DarkLordZach/title-provider

file_sys: Provide generic interface for accessing game data
This commit is contained in:
bunnei 2019-04-09 19:16:37 -04:00 committed by GitHub
commit 61f63bb994
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 460 additions and 275 deletions

View file

@ -86,7 +86,7 @@ static FileSys::VirtualFile GetManualRomFS() {
if (loader.ReadManualRomFS(out) == Loader::ResultStatus::Success)
return out;
const auto& installed{FileSystem::GetUnionContents()};
const auto& installed{Core::System::GetInstance().GetContentProvider()};
const auto res = installed.GetEntry(Core::System::GetInstance().CurrentProcess()->GetTitleID(),
FileSys::ContentRecordType::Manual);