Service: clear IPC header for unimplemented function stub

This commit is contained in:
Weiyi Wang 2019-02-14 22:16:50 -05:00
parent 3f86be88f0
commit e6feef96c1
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}