diff options
Diffstat (limited to 'src/core/hle/svc.cpp')
| -rw-r--r-- | src/core/hle/svc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 4189d75ac..0a2b474ee 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp | |||
| @@ -227,7 +227,8 @@ static ResultCode ConnectToPort(Handle* out_handle, const char* port_name) { | |||
| 227 | auto client_port = it->second; | 227 | auto client_port = it->second; |
| 228 | 228 | ||
| 229 | // Connect to the port and retrieve the client endpoint of the connection Session. | 229 | // Connect to the port and retrieve the client endpoint of the connection Session. |
| 230 | auto client_session = client_port->Connect(); | 230 | SharedPtr<Kernel::ClientSession> client_session; |
| 231 | CASCADE_RESULT(client_session, client_port->Connect()); | ||
| 231 | 232 | ||
| 232 | // Note: Threads do not wait for the server endpoint to call | 233 | // Note: Threads do not wait for the server endpoint to call |
| 233 | // AcceptSession before returning from this call. | 234 | // AcceptSession before returning from this call. |