mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 14:52:45 +01:00
fixup! hle: kernel: Migrate KSharedMemory to KAutoObject.
This commit is contained in:
parent
2c4615f3a6
commit
d2c4dbde9e
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue