summaryrefslogtreecommitdiff
path: root/src/core/hle/service/boss
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2017-05-21 00:11:36 -0700
committerGravatar Yuri Kunde Schlesner2017-05-24 21:06:00 -0700
commit2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3 (patch)
tree7d6d61465f7a4cb6bbb68902301e1ca92f5a76a5 /src/core/hle/service/boss
parentGSP_GPU: Move error codes from result.h to local file (diff)
downloadyuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.gz
yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.xz
yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.zip
Kernel: Centralize error definitions in errors.h
Diffstat (limited to 'src/core/hle/service/boss')
-rw-r--r--src/core/hle/service/boss/boss.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/service/boss/boss.cpp b/src/core/hle/service/boss/boss.cpp
index e0de037f8..91056189a 100644
--- a/src/core/hle/service/boss/boss.cpp
+++ b/src/core/hle/service/boss/boss.cpp
@@ -24,9 +24,7 @@ void InitializeSession(Service::Interface* self) {
24 24
25 if (translation != IPC::CallingPidDesc()) { 25 if (translation != IPC::CallingPidDesc()) {
26 cmd_buff[0] = IPC::MakeHeader(0, 0x1, 0); // 0x40 26 cmd_buff[0] = IPC::MakeHeader(0, 0x1, 0); // 0x40
27 cmd_buff[1] = ResultCode(ErrorDescription::OS_InvalidBufferDescriptor, ErrorModule::OS, 27 cmd_buff[1] = IPC::ERR_INVALID_BUFFER_DESCRIPTOR.raw;
28 ErrorSummary::WrongArgument, ErrorLevel::Permanent)
29 .raw;
30 LOG_ERROR(Service_BOSS, "The translation was invalid, translation=0x%08X", translation); 28 LOG_ERROR(Service_BOSS, "The translation was invalid, translation=0x%08X", translation);
31 return; 29 return;
32 } 30 }