diff options
author | Liam <byteslice@airmail.cc> | 2023-12-18 01:54:29 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-12-23 03:52:49 +0100 |
commit | 35501ba41cefb6f103a96f032c22c14f4fce1e96 (patch) | |
tree | 854d33905bb44193b5f171e1f77565add1884694 /src/core/hle/kernel/svc | |
parent | kernel: instantiate memory separately for each guest process (diff) | |
download | yuzu-35501ba41cefb6f103a96f032c22c14f4fce1e96.tar yuzu-35501ba41cefb6f103a96f032c22c14f4fce1e96.tar.gz yuzu-35501ba41cefb6f103a96f032c22c14f4fce1e96.tar.bz2 yuzu-35501ba41cefb6f103a96f032c22c14f4fce1e96.tar.lz yuzu-35501ba41cefb6f103a96f032c22c14f4fce1e96.tar.xz yuzu-35501ba41cefb6f103a96f032c22c14f4fce1e96.tar.zst yuzu-35501ba41cefb6f103a96f032c22c14f4fce1e96.zip |
Diffstat (limited to 'src/core/hle/kernel/svc')
-rw-r--r-- | src/core/hle/kernel/svc/svc_ipc.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/hle/kernel/svc/svc_ipc.cpp b/src/core/hle/kernel/svc/svc_ipc.cpp index 47a3e7bb0..85cc4f561 100644 --- a/src/core/hle/kernel/svc/svc_ipc.cpp +++ b/src/core/hle/kernel/svc/svc_ipc.cpp @@ -48,8 +48,7 @@ Result ReplyAndReceiveImpl(KernelCore& kernel, int32_t* out_index, uintptr_t mes }; // Send the reply. - R_TRY(session->SendReply()); - // R_TRY(session->SendReply(message, buffer_size, message_paddr)); + R_TRY(session->SendReply(message, buffer_size, message_paddr)); } // Receive a message. @@ -85,8 +84,7 @@ Result ReplyAndReceiveImpl(KernelCore& kernel, int32_t* out_index, uintptr_t mes if (R_SUCCEEDED(result)) { KServerSession* session = objs[index]->DynamicCast<KServerSession*>(); if (session != nullptr) { - // result = session->ReceiveRequest(message, buffer_size, message_paddr); - result = session->ReceiveRequest(); + result = session->ReceiveRequest(message, buffer_size, message_paddr); if (ResultNotFound == result) { continue; } |