mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 08:08:18 -05:00
Return an error code when connecting to a saturated port.
The error code was taken from the 3DS kernel.
This commit is contained in:
@ -227,7 +227,8 @@ 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.
|
||||
auto client_session = client_port->Connect();
|
||||
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.
|
||||
|
Reference in New Issue
Block a user