summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-03-04 12:40:53 -0500
committerZach Hilman <zachhilman@gmail.com>2019-03-26 22:05:37 -0400
commit41d2565f2946f10ed1e3faa8c057114900a29945 (patch)
tree5735246fd762a40b6e55e8442341c6e46e0b8ffe /src/core
parent60f39060c68605c6b3628cea37ef4353f06b5d0e (diff)
game_list: Register content with ContentProvider
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/am/applets/web_browser.cpp5
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() {