diff options
| author | 2018-01-24 23:09:03 -0500 | |
|---|---|---|
| committer | 2018-01-24 23:09:03 -0500 | |
| commit | 748c0de539674dc8ca4a5a8aadd2a61b0eabe652 (patch) | |
| tree | ae56efe8654d3aa3a5e75ec04bd9dfdcc06023a9 /src/core/hle/service/service.cpp | |
| parent | audout:u OpenAudioOut and IAudioOut (#138) (diff) | |
| parent | audout_u: Various cleanups. (diff) | |
| download | yuzu-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.cpp | 2 |
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) { | |||
| 132 | ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& context) { | 132 | ResultCode 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 | } |