aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/client_session.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-21 00:11:36 -0700
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-24 21:06:00 -0700
commit2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3 (patch)
tree7d6d61465f7a4cb6bbb68902301e1ca92f5a76a5 /src/core/hle/kernel/client_session.cpp
parent743d18f0e463aa25af53ceaa25231800453810ea (diff)
Kernel: Centralize error definitions in errors.h
Diffstat (limited to 'src/core/hle/kernel/client_session.cpp')
-rw-r--r--src/core/hle/kernel/client_session.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/client_session.cpp b/src/core/hle/kernel/client_session.cpp
index e297b7464..783b1c061 100644
--- a/src/core/hle/kernel/client_session.cpp
+++ b/src/core/hle/kernel/client_session.cpp
@@ -30,8 +30,7 @@ ResultCode ClientSession::SendSyncRequest() {
if (parent->server)
return parent->server->HandleSyncRequest();
- return ResultCode(ErrorDescription::SessionClosedByRemote, ErrorModule::OS,
- ErrorSummary::Canceled, ErrorLevel::Status);
+ return ERR_SESSION_CLOSED_BY_REMOTE;
}
} // namespace