From e6feef96c1c6588b5febaa76f26130473fad10b1 Mon Sep 17 00:00:00 2001 From: Weiyi Wang Date: Thu, 14 Feb 2019 22:16:50 -0500 Subject: [PATCH] Service: clear IPC header for unimplemented function stub --- src/core/hle/service/service.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 97ff14338f..3eb4dfcaa1 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp @@ -166,6 +166,9 @@ void ServiceFrameworkBase::ReportUnimplementedFunction(u32* cmd_buf, const Funct LOG_ERROR(Service, "unknown / unimplemented {}", fmt::to_string(buf)); // TODO(bunnei): Hack - ignore error + header.normal_params_size.Assign(1); + header.translate_params_size.Assign(0); + cmd_buf[0] = header.raw; cmd_buf[1] = 0; }