diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-03-04 18:40:53 +0100 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-03-27 03:05:37 +0100 |
commit | 41d2565f2946f10ed1e3faa8c057114900a29945 (patch) | |
tree | 5735246fd762a40b6e55e8442341c6e46e0b8ffe /src/core | |
parent | core: Port current uses of RegisteredCache to ContentProvider (diff) | |
download | yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar.gz yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar.bz2 yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar.lz yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar.xz yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.tar.zst yuzu-41d2565f2946f10ed1e3faa8c057114900a29945.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/am/applets/web_browser.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/am/applets/web_browser.cpp b/src/core/hle/service/am/applets/web_browser.cpp index 9b0aa7f5f..70d840a67 100644 --- a/src/core/hle/service/am/applets/web_browser.cpp +++ b/src/core/hle/service/am/applets/web_browser.cpp @@ -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); @@ -154,7 +154,8 @@ void WebBrowser::Execute() { auto& frontend{Core::System::GetInstance().GetWebBrowser()}; - frontend.OpenPage(filename, [this] { UnpackRomFS(); }, [this] { Finalize(); }); + frontend.OpenPage( + filename, [this] { UnpackRomFS(); }, [this] { Finalize(); }); } void WebBrowser::UnpackRomFS() { |