hle_ipc: Remove GetPointer(..) usage with WriteToOutgoingCommandBuffer.

This commit is contained in:
bunnei
2018-03-18 20:17:06 -04:00
parent e353b9fb3d
commit 019f1a0cf0
3 changed files with 14 additions and 7 deletions

View File

@ -152,8 +152,7 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& co
UNIMPLEMENTED_MSG("command_type=%d", context.GetCommandType());
}
u32* cmd_buf = (u32*)Memory::GetPointer(Kernel::GetCurrentThread()->GetTLSAddress());
context.WriteToOutgoingCommandBuffer(cmd_buf, *Core::CurrentProcess(), Kernel::g_handle_table);
context.WriteToOutgoingCommandBuffer(*Kernel::GetCurrentThread());
return RESULT_SUCCESS;
}