diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-21 09:11:36 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-25 06:06:00 +0200 |
commit | 2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3 (patch) | |
tree | 7d6d61465f7a4cb6bbb68902301e1ca92f5a76a5 /src/core/hle/service/srv.cpp | |
parent | GSP_GPU: Move error codes from result.h to local file (diff) | |
download | yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.gz yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.bz2 yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.lz yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.xz yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.zst yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/srv.cpp | 4 |
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 |