diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-04-22 23:53:58 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-21 22:43:10 +0200 |
commit | 4b91057688d6c388f7cbb71e23024d97233ab472 (patch) | |
tree | 9460e695d16cdd403d699ed021999c44729c885c /src/core/hle/service/ns/pl_u.cpp | |
parent | am: Unstub IApplicationFunctions EnsureSaveData (20) (diff) | |
download | yuzu-4b91057688d6c388f7cbb71e23024d97233ab472.tar yuzu-4b91057688d6c388f7cbb71e23024d97233ab472.tar.gz yuzu-4b91057688d6c388f7cbb71e23024d97233ab472.tar.bz2 yuzu-4b91057688d6c388f7cbb71e23024d97233ab472.tar.lz yuzu-4b91057688d6c388f7cbb71e23024d97233ab472.tar.xz yuzu-4b91057688d6c388f7cbb71e23024d97233ab472.tar.zst yuzu-4b91057688d6c388f7cbb71e23024d97233ab472.zip |
Diffstat (limited to 'src/core/hle/service/ns/pl_u.cpp')
-rw-r--r-- | src/core/hle/service/ns/pl_u.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cpp index 2a522136d..9d49f36e8 100644 --- a/src/core/hle/service/ns/pl_u.cpp +++ b/src/core/hle/service/ns/pl_u.cpp @@ -150,7 +150,8 @@ struct PL_U::Impl { std::vector<FontRegion> shared_font_regions; }; -PL_U::PL_U() : ServiceFramework("pl:u"), impl{std::make_unique<Impl>()} { +PL_U::PL_U(FileSystem::FileSystemController& fsc) + : ServiceFramework("pl:u"), impl{std::make_unique<Impl>()} { static const FunctionInfo functions[] = { {0, &PL_U::RequestLoad, "RequestLoad"}, {1, &PL_U::GetLoadState, "GetLoadState"}, @@ -161,7 +162,7 @@ PL_U::PL_U() : ServiceFramework("pl:u"), impl{std::make_unique<Impl>()} { }; RegisterHandlers(functions); // Attempt to load shared font data from disk - const auto* nand = FileSystem::GetSystemNANDContents(); + const auto* nand = fsc.GetSystemNANDContents(); std::size_t offset = 0; // Rebuild shared fonts from data ncas if (nand->HasEntry(static_cast<u64>(FontArchives::Standard), |