summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/srv.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-05-26 17:59:57 +0200
committerGitHub <noreply@github.com>2017-05-26 17:59:57 +0200
commit61decd84cc5308bded75eae62c3247a66b3698d8 (patch)
treebbe05121af1a971bc295cb81baeea63f8c54f407 /src/core/hle/service/srv.cpp
parentMerge pull request #2697 from wwylele/proctex (diff)
parentFS: Remove unused result definition (diff)
downloadyuzu-61decd84cc5308bded75eae62c3247a66b3698d8.tar
yuzu-61decd84cc5308bded75eae62c3247a66b3698d8.tar.gz
yuzu-61decd84cc5308bded75eae62c3247a66b3698d8.tar.bz2
yuzu-61decd84cc5308bded75eae62c3247a66b3698d8.tar.lz
yuzu-61decd84cc5308bded75eae62c3247a66b3698d8.tar.xz
yuzu-61decd84cc5308bded75eae62c3247a66b3698d8.tar.zst
yuzu-61decd84cc5308bded75eae62c3247a66b3698d8.zip
Diffstat (limited to 'src/core/hle/service/srv.cpp')
-rw-r--r--src/core/hle/service/srv.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/service/srv.cpp b/src/core/hle/service/srv.cpp
index 3bd787147..130c9d25e 100644
--- a/src/core/hle/service/srv.cpp
+++ b/src/core/hle/service/srv.cpp
@@ -30,9 +30,7 @@ static void RegisterClient(Interface* self) {
if (cmd_buff[1] != IPC::CallingPidDesc()) {
cmd_buff[0] = IPC::MakeHeader(0x0, 0x1, 0); // 0x40
- cmd_buff[1] = ResultCode(ErrorDescription::OS_InvalidBufferDescriptor, ErrorModule::OS,
- ErrorSummary::WrongArgument, ErrorLevel::Permanent)
- .raw;
+ cmd_buff[1] = IPC::ERR_INVALID_BUFFER_DESCRIPTOR.raw;
return;
}
cmd_buff[0] = IPC::MakeHeader(0x1, 0x1, 0); // 0x10040