aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/ns/pl_u.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-16 11:21:13 -0400
committerGitHub <noreply@github.com>2018-10-16 11:21:13 -0400
commit59c1ca8b0c0051a63d57ccb433a96909acf8000c (patch)
tree2df1a3b0722373a00173fae49df3be3c0445d92d /src/core/hle/service/ns/pl_u.cpp
parentd6e390bc5c944b8f2ce96b6d79533d60af172918 (diff)
parent39ae73b356a253036283b114855f8c5ddbb20f49 (diff)
Merge pull request #1508 from lioncash/unique-reg
file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicable
Diffstat (limited to 'src/core/hle/service/ns/pl_u.cpp')
-rw-r--r--src/core/hle/service/ns/pl_u.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cpp
index 4b2f758a8..44accecb7 100644
--- a/src/core/hle/service/ns/pl_u.cpp
+++ b/src/core/hle/service/ns/pl_u.cpp
@@ -161,7 +161,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 = FileSystem::GetSystemNANDContents();
std::size_t offset = 0;
// Rebuild shared fonts from data ncas
if (nand->HasEntry(static_cast<u64>(FontArchives::Standard),