diff options
| author | Subv <subv2112@gmail.com> | 2016-12-08 11:06:19 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2016-12-08 11:06:19 -0500 |
| commit | f9bcf895103e5a6d99f5fe755bcac92b7781fd38 (patch) | |
| tree | aebba4794da82175756a09e7d4d1de8d835bf412 /src/core/hle/svc.cpp | |
| parent | c93c5a72bb46796e898f54a7c13dfb8d941ddd4d (diff) | |
Use std::move where appropriate.
Diffstat (limited to 'src/core/hle/svc.cpp')
| -rw-r--r-- | src/core/hle/svc.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 0a2b474ee..f24b5c91a 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp @@ -226,19 +226,15 @@ static ResultCode ConnectToPort(Handle* out_handle, const char* port_name) { auto client_port = it->second; - // Connect to the port and retrieve the client endpoint of the connection Session. SharedPtr<Kernel::ClientSession> client_session; CASCADE_RESULT(client_session, client_port->Connect()); - // Note: Threads do not wait for the server endpoint to call - // AcceptSession before returning from this call. - // Return the client session CASCADE_RESULT(*out_handle, Kernel::g_handle_table.Create(client_session)); return RESULT_SUCCESS; } -/// Synchronize to an OS service +/// Makes a blocking IPC call to an OS service. static ResultCode SendSyncRequest(Handle handle) { SharedPtr<Kernel::ClientSession> session = Kernel::g_handle_table.Get<Kernel::ClientSession>(handle); if (session == nullptr) { |
