diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2019-09-22 08:40:58 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2019-09-22 08:40:58 +0200 |
commit | fcdbf0bc53d9361351ac8bae22d590e526fdb49d (patch) | |
tree | 04e76878f46f2a548c5c6ef201e20e419f208d56 /src/core/hle/service/ns/pl_u.cpp | |
parent | Deglobalize System: Vi (diff) | |
download | yuzu-fcdbf0bc53d9361351ac8bae22d590e526fdb49d.tar yuzu-fcdbf0bc53d9361351ac8bae22d590e526fdb49d.tar.gz yuzu-fcdbf0bc53d9361351ac8bae22d590e526fdb49d.tar.bz2 yuzu-fcdbf0bc53d9361351ac8bae22d590e526fdb49d.tar.lz yuzu-fcdbf0bc53d9361351ac8bae22d590e526fdb49d.tar.xz yuzu-fcdbf0bc53d9361351ac8bae22d590e526fdb49d.tar.zst yuzu-fcdbf0bc53d9361351ac8bae22d590e526fdb49d.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, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cpp index 4f9b843e6..c91cfa36e 100644 --- a/src/core/hle/service/ns/pl_u.cpp +++ b/src/core/hle/service/ns/pl_u.cpp @@ -145,7 +145,7 @@ struct PL_U::Impl { std::vector<FontRegion> shared_font_regions; }; -PL_U::PL_U(Core::System& system, FileSystem::FileSystemController& fsc) +PL_U::PL_U(Core::System& system) : ServiceFramework("pl:u"), impl{std::make_unique<Impl>()}, system(system) { static const FunctionInfo functions[] = { @@ -157,6 +157,9 @@ PL_U::PL_U(Core::System& system, FileSystem::FileSystemController& fsc) {5, &PL_U::GetSharedFontInOrderOfPriority, "GetSharedFontInOrderOfPriority"}, }; RegisterHandlers(functions); + + auto& fsc = system.GetFileSystemController(); + // Attempt to load shared font data from disk const auto* nand = fsc.GetSystemNANDContents(); std::size_t offset = 0; |