diff options
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 | } |