summaryrefslogtreecommitdiff
path: root/src/core/hle/service/service.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2018-01-24 23:09:03 -0500
committerGravatar GitHub2018-01-24 23:09:03 -0500
commit748c0de539674dc8ca4a5a8aadd2a61b0eabe652 (patch)
treeae56efe8654d3aa3a5e75ec04bd9dfdcc06023a9 /src/core/hle/service/service.cpp
parentaudout:u OpenAudioOut and IAudioOut (#138) (diff)
parentaudout_u: Various cleanups. (diff)
downloadyuzu-748c0de539674dc8ca4a5a8aadd2a61b0eabe652.tar.gz
yuzu-748c0de539674dc8ca4a5a8aadd2a61b0eabe652.tar.xz
yuzu-748c0de539674dc8ca4a5a8aadd2a61b0eabe652.zip
Merge pull request #137 from bunnei/improve-ipc
Improve IPC, unify Domains and Sessions, and add validation
Diffstat (limited to 'src/core/hle/service/service.cpp')
-rw-r--r--src/core/hle/service/service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 1b8565351..294351b76 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -132,7 +132,7 @@ void ServiceFrameworkBase::InvokeRequest(Kernel::HLERequestContext& ctx) {
132ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& context) { 132ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& context) {
133 switch (context.GetCommandType()) { 133 switch (context.GetCommandType()) {
134 case IPC::CommandType::Close: { 134 case IPC::CommandType::Close: {
135 IPC::RequestBuilder rb{context, 1}; 135 IPC::ResponseBuilder rb{context, 2};
136 rb.Push(RESULT_SUCCESS); 136 rb.Push(RESULT_SUCCESS);
137 return ResultCode(ErrorModule::HIPC, ErrorDescription::RemoteProcessDead); 137 return ResultCode(ErrorModule::HIPC, ErrorDescription::RemoteProcessDead);
138 } 138 }