diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-15 00:33:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-15 00:33:27 +0100 |
commit | cde9386e0fd9677e1a89a8dc81ea9cd65fa22c50 (patch) | |
tree | 6330442e1dacc0d850ce09c35dcee7ddd3a2bc9d /src/core/hle/service/service.cpp | |
parent | Merge pull request #213 from Hexagon12/dynarmic-default (diff) | |
parent | core: Move process creation out of global state. (diff) | |
download | yuzu-cde9386e0fd9677e1a89a8dc81ea9cd65fa22c50.tar yuzu-cde9386e0fd9677e1a89a8dc81ea9cd65fa22c50.tar.gz yuzu-cde9386e0fd9677e1a89a8dc81ea9cd65fa22c50.tar.bz2 yuzu-cde9386e0fd9677e1a89a8dc81ea9cd65fa22c50.tar.lz yuzu-cde9386e0fd9677e1a89a8dc81ea9cd65fa22c50.tar.xz yuzu-cde9386e0fd9677e1a89a8dc81ea9cd65fa22c50.tar.zst yuzu-cde9386e0fd9677e1a89a8dc81ea9cd65fa22c50.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/service.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 78380475c..8818b0f0f 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp @@ -7,6 +7,7 @@ #include "common/assert.h" #include "common/logging/log.h" #include "common/string_util.h" +#include "core/core.h" #include "core/hle/ipc.h" #include "core/hle/ipc_helpers.h" #include "core/hle/kernel/client_port.h" @@ -152,8 +153,7 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& co } u32* cmd_buf = (u32*)Memory::GetPointer(Kernel::GetCurrentThread()->GetTLSAddress()); - context.WriteToOutgoingCommandBuffer(cmd_buf, *Kernel::g_current_process, - Kernel::g_handle_table); + context.WriteToOutgoingCommandBuffer(cmd_buf, *Core::CurrentProcess(), Kernel::g_handle_table); return RESULT_SUCCESS; } |