diff options
| author | 2018-03-18 20:17:06 -0400 | |
|---|---|---|
| committer | 2018-03-18 20:56:33 -0400 | |
| commit | 019f1a0cf0505436854ed631da56b97b1d490945 (patch) | |
| tree | 5a61220815f313c2dab10e12c1c75956c12fd355 /src/core/hle/service/service.cpp | |
| parent | thread: Add THREADSTATUS_WAIT_HLE_EVENT, remove THREADSTATUS_WAIT_ARB. (diff) | |
| download | yuzu-019f1a0cf0505436854ed631da56b97b1d490945.tar.gz yuzu-019f1a0cf0505436854ed631da56b97b1d490945.tar.xz yuzu-019f1a0cf0505436854ed631da56b97b1d490945.zip | |
hle_ipc: Remove GetPointer(..) usage with WriteToOutgoingCommandBuffer.
Diffstat (limited to 'src/core/hle/service/service.cpp')
| -rw-r--r-- | src/core/hle/service/service.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 8818b0f0f..a1ca8a033 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp | |||
| @@ -152,8 +152,7 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& co | |||
| 152 | UNIMPLEMENTED_MSG("command_type=%d", context.GetCommandType()); | 152 | UNIMPLEMENTED_MSG("command_type=%d", context.GetCommandType()); |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | u32* cmd_buf = (u32*)Memory::GetPointer(Kernel::GetCurrentThread()->GetTLSAddress()); | 155 | context.WriteToOutgoingCommandBuffer(*Kernel::GetCurrentThread()); |
| 156 | context.WriteToOutgoingCommandBuffer(cmd_buf, *Core::CurrentProcess(), Kernel::g_handle_table); | ||
| 157 | 156 | ||
| 158 | return RESULT_SUCCESS; | 157 | return RESULT_SUCCESS; |
| 159 | } | 158 | } |