diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-05 06:28:16 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-06 01:40:54 +0200 |
commit | d2c4dbde9e5b09ae85d6901e6c7b8424d2b36893 (patch) | |
tree | 01c68de2c4521a0034f59b1b0c1eb78220a0a658 /src | |
parent | fixup! hle: kernel: Migrate more of KThread to KAutoObject. (diff) | |
download | yuzu-d2c4dbde9e5b09ae85d6901e6c7b8424d2b36893.tar yuzu-d2c4dbde9e5b09ae85d6901e6c7b8424d2b36893.tar.gz yuzu-d2c4dbde9e5b09ae85d6901e6c7b8424d2b36893.tar.bz2 yuzu-d2c4dbde9e5b09ae85d6901e6c7b8424d2b36893.tar.lz yuzu-d2c4dbde9e5b09ae85d6901e6c7b8424d2b36893.tar.xz yuzu-d2c4dbde9e5b09ae85d6901e6c7b8424d2b36893.tar.zst yuzu-d2c4dbde9e5b09ae85d6901e6c7b8424d2b36893.zip |
Diffstat (limited to 'src')
-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) { // Create shared font memory object auto& kernel = system.Kernel(); - std::memcpy(system.Kernel().GetFontSharedMem().GetPointer(), impl->shared_font->data(), + std::memcpy(kernel.GetFontSharedMem().GetPointer(), impl->shared_font->data(), impl->shared_font->size()); IPC::ResponseBuilder rb{ctx, 2, 1}; rb.Push(RESULT_SUCCESS); - rb.PushCopyObjects(&system.Kernel().GetFontSharedMem()); + rb.PushCopyObjects(&kernel.GetFontSharedMem()); } void PL_U::GetSharedFontInOrderOfPriority(Kernel::HLERequestContext& ctx) { |