change buffer index from 1 to 0.

This commit is contained in:
Nguyen Dac Nam 2018-09-04 09:41:34 +07:00 committed by GitHub
parent 41f256f3cd
commit a8af14ad12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ void SOC_U::RecvFromOther(Kernel::HLERequestContext& ctx) {
IPC::RequestBuilder rb = rp.MakeBuilder(2, 4);
rb.Push(RESULT_SUCCESS);
rb.Push(ret);
rb.PushStaticBuffer(addr_buff, 1);
rb.PushStaticBuffer(addr_buff, 0);
rb.PushMappedBuffer(buffer);
}