diff options
| -rw-r--r-- | src/core/hle/service/ns/pl_u.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cpp index 82d847130..e14acce58 100644 --- a/src/core/hle/service/ns/pl_u.cpp +++ b/src/core/hle/service/ns/pl_u.cpp | |||
| @@ -258,12 +258,12 @@ void PL_U::GetSharedMemoryNativeHandle(Kernel::HLERequestContext& ctx) { | |||
| 258 | // Create shared font memory object | 258 | // Create shared font memory object |
| 259 | auto& kernel = system.Kernel(); | 259 | auto& kernel = system.Kernel(); |
| 260 | 260 | ||
| 261 | std::memcpy(system.Kernel().GetFontSharedMem().GetPointer(), impl->shared_font->data(), | 261 | std::memcpy(kernel.GetFontSharedMem().GetPointer(), impl->shared_font->data(), |
| 262 | impl->shared_font->size()); | 262 | impl->shared_font->size()); |
| 263 | 263 | ||
| 264 | IPC::ResponseBuilder rb{ctx, 2, 1}; | 264 | IPC::ResponseBuilder rb{ctx, 2, 1}; |
| 265 | rb.Push(RESULT_SUCCESS); | 265 | rb.Push(RESULT_SUCCESS); |
| 266 | rb.PushCopyObjects(&system.Kernel().GetFontSharedMem()); | 266 | rb.PushCopyObjects(&kernel.GetFontSharedMem()); |
| 267 | } | 267 | } |
| 268 | 268 | ||
| 269 | void PL_U::GetSharedFontInOrderOfPriority(Kernel::HLERequestContext& ctx) { | 269 | void PL_U::GetSharedFontInOrderOfPriority(Kernel::HLERequestContext& ctx) { |