service: Fix all incorrect IPC response headers.

This commit is contained in:
bunnei 2018-01-23 19:43:59 -05:00
parent f0035420d7
commit f9dae99006
14 changed files with 42 additions and 82 deletions

View file

@ -132,7 +132,7 @@ void ServiceFrameworkBase::InvokeRequest(Kernel::HLERequestContext& ctx) {
ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& context) {
switch (context.GetCommandType()) {
case IPC::CommandType::Close: {
IPC::RequestBuilder rb{context, 1};
IPC::RequestBuilder rb{context, 2};
rb.Push(RESULT_SUCCESS);
return ResultCode(ErrorModule::HIPC, ErrorDescription::RemoteProcessDead);
}